a3e2d2804c
- Actualize muted K2 tests - Actualize muted K1 tests with module systems because legacy Wasm test infra had no respect for "// MODULE: ..." test directives
18 lines
303 B
Kotlin
Vendored
18 lines
303 B
Kotlin
Vendored
// IGNORE_BACKEND: JS, JVM
|
|
// WITH_STDLIB
|
|
|
|
// MODULE: lib
|
|
// !LANGUAGE: +EnumEntries
|
|
// FILE: MyEnum.kt
|
|
enum class MyEnum {
|
|
Nope, OK
|
|
}
|
|
|
|
// MODULE: main(lib)
|
|
// !LANGUAGE: +EnumEntries
|
|
// FILE: Box.kt
|
|
@OptIn(ExperimentalStdlibApi::class)
|
|
fun box(): String {
|
|
return MyEnum.entries[1].toString()
|
|
}
|