Files
kotlin-fork/idea/testData/checker/BreakContinue.jet
T
2011-04-01 15:57:59 +04:00

28 lines
522 B
Plaintext

class C {
fun f (a : Boolean, b : Boolean) {
@b (while (true)
@a {
<error>break@f</error>
break
break@b
<error>break@a</error>
})
<error>continue</error>
@b (while (true)
@a {
<error>continue@f</error>
continue
continue@b
<error>continue@a</error>
})
<error>break</error>
<error>continue@f</error>
<error>break@f</error>
}
}