Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/annotationsWithVarargParameters.fir.kt.txt
T
2020-11-26 00:15:13 +03:00

20 lines
239 B
Plaintext
Vendored

annotation class A : Annotation {
constructor(vararg xs: String) /* primary */
val xs: Array<out String>
field = xs
get
}
@A(xs = ["abc", "def"])
fun test1() {
}
@A(xs = ["abc"])
fun test2() {
}
@A(xs = [])
fun test3() {
}