Adjust scan string for PIE
[official-gcc.git] / gcc / testsuite / gcc.dg / wcaselabel-1.c
blob6f673dfaf690716f5c9604552fda78d6f3887dea
1 /* { dg-do compile } */
2 /* { dg-options "-w" } */
5 int foo(int x)
7 switch(x)
10 case 0 % 0: /* { dg-error "case label does not reduce to an integer constant" } */
11 return 1;
12 default:
13 return 2;