mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
13 lines
176 B
Kotlin
Vendored
13 lines
176 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
var result = "Fail"
|
|
|
|
fun foo(newResult: String) {
|
|
result = newResult
|
|
}
|
|
|
|
fun box(): String {
|
|
val x = ::foo
|
|
x("OK")
|
|
return result
|
|
}
|