Files
kotlin-fork/compiler/testData/ir/irText/expressions/kt24804.kt
T
2018-12-07 10:51:55 +03:00

17 lines
293 B
Kotlin
Vendored

inline fun foo() = false
fun run(x: Boolean, y: Boolean): String {
var z = 10
l1@ l2@ do {
z += 1
if (z > 100) return "NOT_OK"
if (x) continue@l1
if (y) continue@l2
} while(foo())
return "OK"
}
fun box(): String {
return run(true, true)
}