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