aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr43635.c
blob: 3875f4efcd46895ecfa95d007108db0bbfa57b4a (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-require-effective-target untyped_assembly } */
/* { dg-require-effective-target indirect_calls } */

extern void d (void);

void (*foo (void)) (float)
{
  void (*(*x) (void)) (float) = d;
  return (*x) ();
}