17 lines
293 B
Kotlin
Vendored
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)
|
|
} |