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

33 lines
439 B
Plaintext
Vendored

annotation class TestAnnWithIntArray : Annotation {
constructor(x: IntArray) /* primary */
val x: IntArray
field = x
get
}
annotation class TestAnnWithStringArray : Annotation {
constructor(x: Array<String>) /* primary */
val x: Array<String>
field = x
get
}
@TestAnnWithIntArray(...)
@TestAnnWithStringArray(...)
fun test1() {
}
@TestAnnWithIntArray(...)
@TestAnnWithStringArray(...)
fun test2() {
}