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

23 lines
285 B
Kotlin
Vendored

fun box(): String {
var s = ""
var foo = "K"
fun foo(x: String, y: Int) {
s += x
}
fun test() {
fun foo(x: String) {
s += x
}
{
foo("O")
foo(foo, 1)
}()
}
test()
return s
}