Files
kotlin/compiler/testData/codegen/box/functions/localFunctions/overloadedLocalFunction3.kt
Mikhael Bogdanov a7d706f693 Unmute jvm ir-tests
2018-08-09 16:30:32 +03:00

22 lines
292 B
Kotlin
Vendored

// IGNORE_BACKEND: JS_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
}