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