blob: ac5f84001f63665389717dba646f3ee976d8b555 [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){}
}