mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
15 lines
198 B
Kotlin
Vendored
15 lines
198 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
fun foo() = "OK"
|
|
|
|
fun box(): String {
|
|
val x = ::foo
|
|
|
|
var r = x()
|
|
if (r != "OK") return r
|
|
|
|
r = run(::foo)
|
|
if (r != "OK") return r
|
|
|
|
return "OK"
|
|
}
|