Files
kotlin/compiler/testData/codegen/box/callableReference/function/local/localLocal.kt
2019-11-19 11:00:09 +03:00

12 lines
190 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
fun box(): String {
fun foo(): String {
fun bar() = "OK"
val ref = ::bar
return ref()
}
val ref = ::foo
return ref()
}