Files
kotlin-fork/j2k/tests/testData/ast/switch/continueAndBreakWithLabel.java
T
2014-07-10 23:20:37 +04:00

13 lines
200 B
Java

//method
void foo() {
Loop:
while(true) {
switch(take()) {
case 1: continue;
case 2: System.out.println("2"); return;
case 3: break Loop;
}
System.out.println();
}
}