Files
kotlin/compiler/testData/codegen/box/innerNested/innerLabeledThis.kt
2019-11-19 11:00:09 +03:00

13 lines
230 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
class Outer {
inner class Inner {
fun O() = this@Outer.O
val K = this@Outer.K()
}
val O = "O"
fun K() = "K"
}
fun box() = Outer().Inner().O() + Outer().Inner().K