Files
kotlin-fork/compiler/testData/ir/irText/classes/secondaryConstructorWithInitializersFromClassBody.kt.txt
T

58 lines
580 B
Plaintext
Vendored

open class Base {
constructor() /* primary */ {
super/*Any*/()
/* InstanceInitializerCall */
}
}
class TestProperty : Base {
val x: Int
field = 0
get
constructor() {
super/*Base*/()
/* InstanceInitializerCall */
}
}
class TestInitBlock : Base {
val x: Int
get
init {
#x = 0
}
constructor() {
super/*Base*/()
/* InstanceInitializerCall */
}
constructor(z: Any) {
super/*Base*/()
/* InstanceInitializerCall */
}
constructor(y: Int) {
this/*TestInitBlock*/()
}
}