Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/arrayInAnnotationArguments.kt.txt
T
2021-09-23 06:59:33 +00:00

36 lines
584 B
Plaintext
Vendored

open annotation class TestAnnWithIntArray : Annotation {
constructor(x: IntArray) /* primary */ {
super/*Any*/()
/* <init>() */
}
val x: IntArray
field = x
get
}
open annotation class TestAnnWithStringArray : Annotation {
constructor(x: Array<String>) /* primary */ {
super/*Any*/()
/* <init>() */
}
val x: Array<String>
field = x
get
}
@TestAnnWithIntArray(x = [1, 2, 3])
@TestAnnWithStringArray(x = ["a", "b", "c"])
fun test1() {
}
@TestAnnWithIntArray(x = [4, 5, 6])
@TestAnnWithStringArray(x = ["d", "e", "f"])
fun test2() {
}