Files
kotlin-fork/js/js.translator/testData/box/closure/closureLocalLiteralFunction.kt
T

15 lines
198 B
Kotlin
Vendored

// EXPECTED_REACHABLE_NODES: 491
package foo
val k = { "K" }
fun test(): String {
val o = { "O" }
val funLit = { o() + k() }
return funLit()
}
fun box(): String {
return test()
}