blob: 517e8548e3f70029fc7ae7f1af8743e3eb37217f [file] [log] [blame]
/* { dg-do compile } */
struct T;
typedef void F(void);
F* aux(void (*x)())
{
return x;
}
void make_mess (int);
F*
get_funloc (void (*x)(int), F* (*y)())
{
return y(x);
}
F*
foo ()
{
return get_funloc (make_mess, aux);
}