Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/constructorsWithAnnotations.kt.txt
T
2020-11-26 00:14:25 +03:00

24 lines
302 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*/()
/* <init>() */
}
@TestAnn(x = 2)
constructor(x: Int) {
this/*TestClass*/()
}
}