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

struct bp { void *v, *b, *e; };
f ()
{
  struct bp x = { &&L2 };
  if (&&L3 - &&L1 > 1)
    abort ();
L1:return 1;
L2:abort ();
L3:;
}