Files
kotlin-fork/compiler/testData/ir/irText/expressions/kt24804.kt
T
2021-03-12 18:47:34 +03:00

18 lines
323 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
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)
}