Debian Codegraph @

gcc/testsuite/gcc.dg/noncompile/20041207.c

raw
1 /* PR18867 - ICE on a switch controlling expressions with an
2 invalid type. Origin: Serge Belyshev <[email protected]> */
3
4 void f()
5 {
6 float x;
7 switch (x) {case 0: break;}; /* { dg-error "not an integer" } */
8 }