* gcc.target/i386/mpx/hard-reg-1-nov.c (mpx_test): Use "esp"
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr71494.c
blobcee407dc86e0cbf0363c2ae0132015d6e7c4d6f9
1 /* PR middle-end/71494 */
2 /* { dg-require-effective-target label_values } */
4 int
5 main ()
7 void *label = &&out;
8 int i = 0;
9 void test (void)
11 label = &&out2;
12 goto *label;
13 out2:;
14 i++;
16 goto *label;
17 out:
18 i += 2;
19 test ();
20 if (i != 3)
21 __builtin_abort ();
22 return 0;