Files
kotlin-fork/compiler/testData/codegen/box/involvesIrInterpreter/intrinsicConst/kt58717.kt
T
2023-05-18 18:16:54 +00:00

17 lines
237 B
Kotlin
Vendored

// !LANGUAGE: +IntrinsicConstEvaluation
// TARGET_BACKEND: JVM_IR
var result = "Fail"
object O {
fun foo() {}
init {
result = "OK"
}
}
fun box(): String {
O::foo.<!EVALUATED("foo")!>name<!>
return result
}