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

7 lines
113 B
Kotlin
Vendored

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