blob: 72fb3085c2496e928c70b01dba36d46be1eaf36a [file] [log] [blame]
class C {
fun f (<warning>a</warning> : Boolean, <warning>b</warning> : Boolean) {
b@ (<error descr="[EXPRESSION_EXPECTED] While is not an expression, and only expressions are allowed here">while (true)
a@ {
<error>break@f</error>
break
break@b
<error>break@a</error>
}</error>)
<error>continue</error>
b@ (<error descr="[EXPRESSION_EXPECTED] While is not an expression, and only expressions are allowed here">while (true)
a@ {
<error>continue@f</error>
continue
continue@b
<error>continue@a</error>
}</error>)
<error>break</error>
<error>continue@f</error>
<error>break@f</error>
}
}