mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 08:31:28 +00:00
18 lines
185 B
Kotlin
Vendored
18 lines
185 B
Kotlin
Vendored
fun box(): String {
|
|
var s = ""
|
|
|
|
fun foo(x: String) {
|
|
s += x
|
|
}
|
|
|
|
fun foo() {
|
|
foo("K")
|
|
}
|
|
|
|
run {
|
|
foo("O")
|
|
foo()
|
|
}
|
|
|
|
return s
|
|
} |