Files
kotlin-fork/compiler/testData/codegen/box/ir/serializationRegressions/innerClassInEnumEntryClass.kt
T
Roman Artemev e57d34dd9e Make fix test:
- [JS IR] Unmute fixed tests
 - [IrText] Update testdata
 - [WASM] Temporary turn wasm test off
 - [FirText] Temporary turn fit text tests off
 - [JVM IR] Turn off klib jvm test
 - [IR] Add new test
2020-02-14 18:22:17 +03:00

25 lines
351 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
// MODULE: lib
// FILE: lib.kt
enum class A {
X {
val x = "OK"
inner class Inner {
val y = x
}
val z = Inner()
override val test: String
get() = z.y
};
abstract val test: String
}
// MODULE: main(lib)
// FILE: main.kt
fun box() = A.X.test