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

25 lines
290 B
Kotlin
Vendored

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