e57d34dd9e
- [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
25 lines
351 B
Kotlin
Vendored
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
|