WALA/com.ibm.wala.cast.java.test.../src/bugfixes/DoWhileInCase.java

18 lines
301 B
Java

package bugfixes;
public class DoWhileInCase {
static int x = 3;
public static void main(String[] args) {
switch(x) {
case 1:
do {
System.out.println("Problem");
x ++;
} while (x < 3);
break;
default:
System.out.println("Default");
}
}
}