summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/labels-1.c
blob: fae6ab8f400ea5565a531f26c0feafdac2fe2364 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef NO_LABEL_VALUES
f ()
{
  void *x = &&L2;
  if (&&L3 - &&L1 > 1)
    abort();
 L1: return 1;
 L2: abort ();
 L3:;
}
#else
int x;
#endif