aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/labels-1.c
blob: 7889567ffa64d4d2ea5b4496be95f2aa6af230bb (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-require-effective-target label_values } */

f ()
{
  void *x = &&L2;
  if (&&L3 - &&L1 > 1)
    abort();
 L1: return 1;
 L2: abort ();
 L3:;
}