]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/wcaselabel-1.c
replace ISL with isl
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / wcaselabel-1.c
CommitLineData
dc5d4efb
JL
1/* { dg-do compile } */
2/* { dg-options "-w" } */
3
4
5int foo(int x)
6{
7 switch(x)
8 {
9
10 case 0 % 0: /* { dg-error "case label does not reduce to an integer constant" } */
11 return 1;
12 default:
13 return 2;
14 }
15}