aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr17913.c
blob: cf58700d4a098083afd7f938f7fd324871bb14f9 (plain)
1
2
3
4
5
6
7
8
9
10
/* Test for computed jump into cond_expr: bug 17913.  */
/* { dg-require-effective-target indirect_jumps } */
/* { dg-require-effective-target label_values } */

void f (void) 
{ 
  void *p = &&a;
  1 ? 1 : ({ a : 1; }); 
  goto *p;
}