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

26 lines
252 B
Kotlin
Vendored

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