gcc/
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 920501-5.c
blobe352a9155632e7dd047abe2a6609d185d8ed1fe7
1 #ifndef NO_LABEL_VALUES
2 x (int i)
4 void *j[] = {&&x, &&y, &&z};
5 goto *j[i];
6 x:return 2;
7 y:return 3;
8 z:return 5;
11 main ()
13 if (x (0) != 2 || x (1) != 3 || x (2) != 5)
14 abort();
15 exit(0);
17 #else
18 main(){ exit (0); }
19 #endif