Files
kotlin-fork/compiler/testData/diagnostics/tests/kt55666.kt
T
2023-01-20 08:09:08 +00:00

20 lines
282 B
Kotlin
Vendored

// FIR_IDENTICAL
inline fun l2f1(p: () -> Unit) {}
fun label2simple1() {
l2f1 { return@label2simple1 }
fun local() {
l2f1 { return@local }
}
labelLocal@ fun labelledLocal() {
l2f1 { return@labelLocal }
}
}
fun main() {
label2simple1()
}