FE: use WITH_STDLIB directive for Enum.entries tests
This commit is contained in:
committed by
Space Team
parent
565adf3075
commit
c534c54a1c
Vendored
+3
-2
@@ -1,4 +1,5 @@
|
||||
// !LANGUAGE: -EnumEntries
|
||||
// WITH_STDLIB
|
||||
|
||||
package pckg
|
||||
|
||||
@@ -8,7 +9,7 @@ enum class E {
|
||||
;
|
||||
|
||||
fun foo() {
|
||||
entries
|
||||
<!OPT_IN_USAGE_ERROR!>entries<!>
|
||||
pckg.entries
|
||||
}
|
||||
}
|
||||
@@ -19,7 +20,7 @@ class A {
|
||||
|
||||
class B {
|
||||
fun foo() {
|
||||
entries
|
||||
<!OPT_IN_USAGE_ERROR!>entries<!>
|
||||
pckg.entries
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user