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

int
test (int foo)
{
  static void *dummy[] = { &&a, &&b };
  goto *((char *) &&b - 2 * (foo < 0));
a:
b:
  return 0;
}