Adjust scan string for PIE
[official-gcc.git] / gcc / testsuite / gcc.dg / pr39666-1.c
blobf1ba499c33110ac90652541e3b8cb38162a24dcd
1 /* PR middle-end/39666 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -Wuninitialized" } */
5 int
6 foo (int i)
8 int j;
9 switch (i)
11 case -__INT_MAX__ - 1 ... -1:
12 j = 6;
13 break;
14 case 0:
15 j = 5;
16 break;
17 case 1 ... __INT_MAX__:
18 j = 4;
19 break;
21 return j;