Files
kotlin/compiler/testData/codegen/box/functions/localFunctions/overloadedLocalFunction3.kt
2018-08-15 13:35:14 +03:00

21 lines
267 B
Kotlin
Vendored

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
}