blob: 8eb544a6b81851e763041a0d8f5146deac99f0ca [file]
// "Delete redundant 'switch' branch" "GENERIC_ERROR_OR_WARNING"
class C {
void foo(int n) {
switch (n) {
case 2 -> bar("B");
default -> bar("A");
}
}
void bar(String s){}
}