Files
kotlin-fork/backend.native/tests/external/codegen/box/innerNested/innerLabeledThis.kt
T
2017-03-13 15:31:46 +03:00

12 lines
200 B
Kotlin

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