mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 00:21:35 +00:00
9 lines
226 B
Kotlin
Vendored
9 lines
226 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
annotation class Anno(val x: Array<String> = emptyArray())
|
|
|
|
@Anno fun test1() = 1
|
|
@Anno(arrayOf("K")) fun test2() = 2
|
|
|
|
fun box(): String {
|
|
return if (test1() + test2() == 3) "OK" else "Fail"
|
|
} |