modernc.org/cc@v1.0.1/testdata/gcc-6.3.0/gcc/testsuite/gcc.c-torture/execute/920501-5.c (about)

     1  #ifndef NO_LABEL_VALUES
     2  x (int i)
     3  {
     4    void *j[] = {&&x, &&y, &&z};
     5    goto *j[i];
     6   x:return 2;
     7   y:return 3;
     8   z:return 5;
     9  
    10  }
    11  main ()
    12  {
    13    if (x (0) != 2 || x (1) != 3 || x (2) != 5)
    14      abort();
    15    exit(0);
    16  }
    17  #else
    18  main(){ exit (0); }
    19  #endif