PR tree-optimization/86401
[official-gcc.git] / gcc / testsuite / c-c++-common / Wimplicit-fallthrough-9.c
blob394d6998b65549397d93fd00e7bac80f7b85618b
1 /* PR c/7652 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wimplicit-fallthrough" } */
5 /* Test we don't remove FALLTHROUGH () too early. */
7 extern void h (int);
9 void
10 g (int i)
12 switch (i)
14 case 1:
16 switch (i)
18 case 3:
19 h (7);
20 __attribute__((fallthrough));
21 case 4:;
24 case 2:;