PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 920501-5.c
blobf0b907166531b7fba844f0384c2ba27894c43dd0
1 /* { dg-require-effective-target label_values } */
3 x (int i)
5 void *j[] = {&&x, &&y, &&z};
6 goto *j[i];
7 x:return 2;
8 y:return 3;
9 z:return 5;
12 main ()
14 if (x (0) != 2 || x (1) != 3 || x (2) != 5)
15 abort();
16 exit(0);