Files
kotlin-fork/compiler/testData/codegen/box/ir/closureConversion/closureConversion3.kt
T
2019-11-19 11:00:09 +03:00

12 lines
243 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
fun foo(x: String): String {
fun bar(y: String): String {
fun qux(z: String): String =
x + y + z
return qux("")
}
return bar("K")
}
fun box(): String =
foo("O")