Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/annotationsWithVarargParameters.kt.txt
T
2024-02-16 10:19:38 +00:00

26 lines
291 B
Kotlin
Vendored

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