2 /* { dg-do compile } */
3 /* { dg-options "-Wimplicit-fallthrough" } */
11 switch (v2
) /* { dg-warning "this statement may fall through" } */
22 case 4: /* { dg-message "here" } */
25 switch (v2
) /* { dg-warning "this statement may fall through" } */
34 case 6: /* { dg-message "here" } */
37 switch (v2
) /* { dg-warning "this statement may fall through" } */
44 case 8: /* { dg-message "here" } */
47 switch (v2
) /* { dg-bogus "this statement may fall through" } */
59 switch (v2
) /* { dg-bogus "this statement may fall through" } */
61 case -__INT_MAX__
- 1 ... 31:
65 case 33 ... __INT_MAX__
: