Files
kotlin-fork/compiler/testData/ir/irText/expressions/kt24804.fir.kt.txt
T

26 lines
402 B
Plaintext
Vendored

inline fun foo(): Boolean {
return false
}
fun run(x: Boolean, y: Boolean): String {
var z: Int = 10
l2@ do// COMPOSITE {
z = z.plus(other = 1)
when {
greater(arg0 = z, arg1 = 100) -> return "NOT_OK"
}
when {
x -> error("") /* ErrorExpression */
}
when {
y -> continue@l2
}
// } while (foo())
return "OK"
}
fun box(): String {
return run(x = true, y = true)
}