2 /* { dg-do compile } */
3 /* { dg-options "-Wimplicit-fallthrough" } */
5 <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0188r0.pdf>. */
16 f (1); /* { dg-warning "statement may fall through" } */
19 __attribute__((fallthrough));
29 __attribute__((fallthrough));
33 __attribute__((fallthrough)); /* { dg-warning "not preceding" } */
34 f (6); /* { dg-warning "statement may fall through" } */