blob: 5a70edb9c1938a0865473886d8e93d03a3583b0d [file]
// "Replace with old style 'switch' statement" "true"
import java.util.*;
public class Main {
void foo(E e) {
switch (e) {
case E1:
case E2:
System.out.println("oops");
break;
default:
System.out.println("impossible");
break;
}
}
}
enum E {
E1, E2;
}