Files
kotlin-fork/compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/tryFinally1.kt
T
2020-11-09 16:04:43 +03:00

15 lines
267 B
Kotlin
Vendored

// DONT_TARGET_EXACT_BACKEND: WASM
// WASM_MUTE_REASON: EXCEPTIONS_NOT_IMPLEMENTED
fun box(): String {
var x = "OK"
while (true) {
try {
x = x + continue
}
finally {
x = x + break
}
}
return x
}