2 /* { dg-do compile } */
3 /* { dg-options "-Wimplicit-fallthrough" } */
5 /* Testing non-case labels. */
23 foo (1); /* { dg-warning "statement may fall through" } */
32 foo (1); /* { dg-warning "statement may fall through" } */
41 foo (1); /* { dg-warning "statement may fall through" } */
66 foo (2); /* { dg-warning "statement may fall through" } */
79 foo (2); /* { dg-warning "statement may fall through" } */