5b3816cce5
treat it as a general one, introduce *_K1 and *_K2 variants for more specific ignoring
18 lines
322 B
Kotlin
Vendored
18 lines
322 B
Kotlin
Vendored
// IGNORE_BACKEND_K2: 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)
|
|
} |