repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr47281.c
blob
517e8548e3f70029fc7ae7f1af8743e3eb37217f
1
/* { dg-do compile } */
2
3
struct
T
;
4
typedef
void
F
(
void
);
5
6
F
*
aux
(
void
(*
x
)())
7
{
8
return
x
;
9
}
10
11
void
make_mess
(
int
);
12
13
F
*
14
get_funloc
(
void
(*
x
)(
int
),
F
* (*
y
)())
15
{
16
return
y
(
x
);
17
}
18
19
F
*
20
foo
()
21
{
22
return
get_funloc
(
make_mess
,
aux
);
23
}