mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-05 19:52:07 +07:00
GitOrigin-RevId: 4bcbf2d43bddca5ded941c2b1497715ff977ca0b
18 lines
376 B
Java
18 lines
376 B
Java
class Test {
|
|
void test(int x) {
|
|
switch(x) {
|
|
default:
|
|
System.exit(0);
|
|
<warning descr="Unreachable code">System.out.println("oops");
|
|
return;</warning>
|
|
case 0:
|
|
System.out.println(0);
|
|
case 1:
|
|
System.out.println(1);
|
|
case 2:
|
|
System.out.println(2);
|
|
case 3:
|
|
System.out.println(3);
|
|
}
|
|
}
|
|
} |