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

20 lines
200 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() {
}