Files
kotlin-fork/js/js.translator/testData/box/closure/closureLocalLiteralFunction.kt
T
2018-09-12 09:49:25 +03:00

15 lines
199 B
Kotlin
Vendored

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