Add new test to verify that the array index, limit, and stride are
[official-gcc.git] / gcc / testsuite / gcc.dg / switch-1.c
blob1879790dd12f95f96c561c24c89e1a71ea3b7a31
1 /* { dg-do compile { target fpic } } */
2 /* { dg-options "-fpic -O2" } */
4 void f (char *s)
6 for (;;)
8 int t = 6;
9 switch (t)
11 case 2:
12 *s = '2';
13 case 6: case 4: case 3: case 1:
14 break;