1 /* { dg-do compile } */
2
3 void
4 foo (int n)
5 {
6 switch (n)
7 case 0: case 3: case 0.2: case 5:; /* { dg-error "21:case label does not reduce to an integer constant" } */
8 }
1 /* { dg-do compile } */
2
3 void
4 foo (int n)
5 {
6 switch (n)
7 case 0: case 3: case 0.2: case 5:; /* { dg-error "21:case label does not reduce to an integer constant" } */
8 }