Files
kotlin-fork/compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/breakFromOuter.kt
T
2018-06-09 19:15:38 +03:00

13 lines
244 B
Kotlin
Vendored

// IGNORE_BACKEND: JS_IR
fun box(): String {
OUTER@while (true) {
var x = ""
try {
do {
x = x + break@OUTER
} while (true)
} finally {
return "OK"
}
}
}