Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/constructorsWithAnnotations.kt.txt
T

30 lines
327 B
Plaintext
Vendored

annotation class TestAnn : Annotation {
constructor(x: Int) /* primary */
val x: Int
field = x
get
}
class TestClass {
@TestAnn(x = 1)
constructor() /* primary */ {
super/*Any*/()
/* InstanceInitializerCall */
}
@TestAnn(x = 2)
constructor(x: Int) {
this/*TestClass*/()
}
}