testsuite: Skip analyzer tests on AIX.
[official-gcc.git] / gcc / testsuite / c-c++-common / Wimplicit-fallthrough-15.c
blobee3e52d5dc4077a9cd34815f00bce30ade983a8b
1 /* PR c/7652 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wimplicit-fallthrough" } */
5 /* Another nested switch. Check that we don't warn here. */
7 void
8 f (int i)
10 int j = 0;
11 switch (i)
13 case 0:
14 case 1:
15 j = 10;
16 __attribute__((fallthrough));
17 case 2:
18 j += 10;
19 break;
20 case 3:
21 switch (i)
23 case 5:
24 j += 2;
25 __attribute__((fallthrough));
26 case 6:
27 j += 4;
28 break;