Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/constExpressionsInAnnotationArguments.kt.txt
T

21 lines
202 B
Plaintext
Vendored

const val ONE: Int
field = 1
get
annotation class A : Annotation {
constructor(x: Int) /* primary */
val x: Int
field = x
get
}
@A(x = 1)
fun test1() {
}
@A(x = 2)
fun test2() {
}