FE: use WITH_STDLIB directive for Enum.entries tests

This commit is contained in:
Mikhail Glukhikh
2023-01-19 11:57:26 +01:00
committed by Space Team
parent 565adf3075
commit c534c54a1c
27 changed files with 40 additions and 10 deletions
@@ -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
}
}