pretty-print.h (pp_base): Remove.
[official-gcc.git] / gcc / testsuite / gcc.dg / switch-9.c
blob2ae89d09518c1dc8f3d0686d2c13a07085579c9f
1 /* PR middle-end/18859 */
2 /* { dg-do compile } */
3 /* { dg-options "" } */
5 void foo(int a)
7 switch (a)
9 case 0 ... -1: /* { dg-warning "empty range" } */
10 a = a+2;
11 break;
13 case 1 ... 2:
14 a = 0;
15 break;
17 case 3 ... 4:
18 a = 1;
19 break;
21 case 5 ... 6:
22 a = 0;
23 break;