mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
22 lines
297 B
Kotlin
Vendored
22 lines
297 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
fun box(): String {
|
|
var s = ""
|
|
var foo = "O"
|
|
|
|
fun foo(x: String, z: Int) {
|
|
s += x
|
|
}
|
|
|
|
run {
|
|
fun foo(x: String) {
|
|
s += x
|
|
}
|
|
|
|
{
|
|
foo(foo, 1)
|
|
foo("K")
|
|
} ()
|
|
}
|
|
|
|
return s
|
|
} |