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

9 lines
147 B
Kotlin
Vendored

// IGNORE_BACKEND: JS_IR
fun box(): String {
fun foo(x: String) = x
fun foo() = foo("K")
return run {
foo("O") + foo()
}
}