mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
19 lines
210 B
Kotlin
Vendored
19 lines
210 B
Kotlin
Vendored
// IGNORE_BACKEND: JS_IR
|
|
fun box(): String {
|
|
var s = ""
|
|
|
|
fun foo(x: String) {
|
|
s += x
|
|
}
|
|
|
|
fun foo() {
|
|
foo("K")
|
|
}
|
|
|
|
run {
|
|
foo("O")
|
|
foo()
|
|
}
|
|
|
|
return s
|
|
} |