Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/constructorsWithAnnotations.kt.txt
T
2024-02-16 10:19:38 +00:00

29 lines
352 B
Kotlin
Vendored

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