1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftracer -w" } */
3 /* { dg-require-effective-target label_values } */
4 /* { dg-require-effective-target indirect_jumps } */
5 
foo(int i,int * p)6 void *foo(int i, int *p)
7 {
8 lab:
9   if (p) *p = i;
10   goto *p;
11   return &&lab;
12 }
13 
14