Files
kotlin-fork/compiler/testData/diagnostics/tests/controlStructures/jumpAcrossFunctionBoundary.fir.kt
T

18 lines
220 B
Kotlin
Vendored

fun call(f: () -> Unit) = f()
fun f1() {
outer@ while (true) {
call {
break@outer
}
}
}
fun f2() {
do {
fun inner() {
continue
}
} while (true)
}