1 /* { dg-do compile } */
2 /* { dg-options "-Wextra" } */
11 case 1: /* { dg-warning "this statement may \[fla\]* through" "" { target *-*-* } .+1 } */
13 case 2: /* { dg-warning "this statement may \[fla\]* through" "" { target *-*-* } .+1 } */
16 case 3: /* { dg-warning "this statement may \[fla\]* through" "" { target *-*-* } .+1 } */
18 /* Here we really do want to fALl tHRoUgh and we mean it! */
19 case 4: /* { dg-bogus "this statement may \[fla\]* through" "" { target *-*-* } .+1 } */
21 /* Intentionally fall through. */
22 case 5: /* { dg-bogus "this statement may \[fla\]* through" "" { target *-*-* } .+1 } */
25 case 6: /* { dg-bogus "this statement may \[fla\]* through" "" { target *-*-* } .+1 } */
27 __attribute__((fallthrough
));
28 case 7: /* { dg-bogus "this statement may \[fla\]* through" "" { target *-*-* } .+1 } */