Files
kotlin-fork/compiler/testData/codegen/box/secondaryConstructors/callFromLocalSubClass.kt
T
2019-11-19 11:00:09 +03:00

17 lines
245 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
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
}