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
@@ -11,6 +12,6 @@ enum class A {
val <T> T.entries: Int get() = 0
fun test() {
A.entries
A.<!OPT_IN_USAGE_ERROR!>entries<!>
A.Companion.entries
}