OSDN Git Service

PR tree-optimization/52019
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / noncompile / 20041207.c
1 /* PR18867 - ICE on a switch controlling expressions with an
2    invalid type.  Origin: Serge Belyshev <belyshev@lubercy.com>  */
3    
4 void f()
5 {
6   float x;
7   switch (x) {case 0: break;}; /* { dg-error "not an integer" } */
8 }