Files
kotlin-fork/compiler/testData/diagnostics/tests/controlFlowAnalysis/breakContinueInTryFinally.fir.kt
T

25 lines
393 B
Kotlin
Vendored

fun foo() {
outer@while (true) {
try {
while (true) {
continue@outer
}
} finally {
break
}
}
"OK".hashCode()
}
fun bar(): String {
outer@while (true) {
try {
while (true) {
continue@outer
}
} finally {
return "OK"
}
}
}