Files
kotlin-fork/compiler/testData/codegen/box/secondaryConstructors/callFromLocalSubClass.kt
T

17 lines
237 B
Kotlin
Vendored

// IGNORE_BACKEND: JS
fun box(): String {
val z = "K"
open class A(val x: String) {
constructor() : this("O")
val y: String
get() = z
}
class B : A()
val b = B()
return b.x + b.y
}