mips.h (ISA_HAS_DSP, [...]): New macros.
[official-gcc.git] / gcc / testsuite / gcc.dg / switch-warn-3.c
blobe13b4f58a7f065f3dd128b26630fc546394167a5
1 /* { dg-do compile } */
2 /* { dg-options "-Wswitch-enum" } */
4 enum a { a0, a1, a2, a3 };
6 int error(enum a aa)
8 switch ( aa )
10 case a0 ... a3:
11 return 1;
13 return 0;