1/* { dg-do compile } */
2
3struct T;
4typedef void F(void);
5
6F* aux(void (*x)())
7{
8  return x;
9}
10
11void make_mess (int);
12
13F*
14get_funloc (void (*x)(int), F* (*y)())
15{
16  return y(x);
17}
18
19F*
20foo ()
21{
22  return get_funloc (make_mess, aux);
23}
24