summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/920415-1.c
blob: 96ac7fe9be476d64bb2889da8f1920d27f21bac7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* { dg-require-effective-target indirect_jumps } */
/* { dg-require-effective-target label_values } */

extern void abort (void);
extern void exit (int);

f ()
{
  __label__ l;
  void *x()
    {
      return &&l;
    }
  goto *x ();
  abort ();
  return;
 l:
  exit (0);
}