modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr70190.c (about)

     1  /* { dg-require-effective-target indirect_jumps } */
     2  /* { dg-require-effective-target label_values } */
     3  
     4  
     5  int
     6  fn1 ()
     7  {
     8    static char a[] = "foo";
     9    static void *b[] = { &&l1, &&l2 };
    10    goto *(b[1]);
    11   l1: goto *(a[0]);
    12   l2: return 0;
    13  }
    14