Files
kotlin-fork/j2k/testData/fileOrElement/switch/caseWithBlock.java
T
Alexander Udalov 3c859caf2b j2k: flatten test cases and testData directory structure
Move j2k/test/tests -> j2k/tests, j2k/test/testData -> j2k/testData
2015-01-03 00:52:59 +03:00

20 lines
250 B
Java
Vendored

//method
void foo() {
switch(a) {
case 1: {
int x = 1;
System.out.println(x);
break;
}
case 2: {
int x = 2;
System.out.println(x);
}
break;
case 3: {
System.out.println(3);
}
}
}