Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/constExpressionsInAnnotationArguments.kt
T
2023-03-23 15:24:32 +00:00

9 lines
115 B
Kotlin
Vendored

// FIR_IDENTICAL
const val ONE = 1
annotation class A(val x: Int)
@A(ONE) fun test1() {}
@A(1+1) fun test2() {}