Files
kotlin-fork/compiler/testData/codegen/box/secondaryConstructors/callFromLocalSubClass.kt
T
2018-06-28 12:26:41 +02:00

17 lines
241 B
Kotlin
Vendored

// IGNORE_BACKEND: 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
}