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

39 lines
389 B
Plaintext
Vendored

annotation class A1 : Annotation {
constructor(x: Int) /* primary */
val x: Int
field = x
get
}
annotation class A2 : Annotation {
constructor(a: A1) /* primary */
val a: A1
field = a
get
}
annotation class AA : Annotation {
constructor(xs: Array<A1>) /* primary */
val xs: Array<A1>
field = xs
get
}
@A2(...)
@AA(...)
fun test() {
}