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

25 lines
251 B
Kotlin
Vendored

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