Move the c-torture/noncompile tests to either gcc.dg/cpp or a new
[official-gcc.git] / gcc / testsuite / gcc.dg / switch-1.c
blob457c52053882be1b12b3162d404b668763367062
1 /* { dg-do compile { target rs6000-*-linux* powerpc-*-linux*} } */
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;