blob: 2877097058d588c9746647988474327aa9e3836f [file]
// "Unwrap 'else' branch (changes semantics)" "true"
class T {
void f(boolean b, int n) {
switch (n) {
case 1:
if (b)
System.out.println("When true");
// Before
System.out.println("Otherwise");
// After
return;
case 2:
}
System.out.println("Done");
}
}