Files
kotlin/compiler/testData/codegen/box/functions/localFunctions/overloadedLocalFunction.kt
2018-06-09 19:15:38 +03:00

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
}