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
PR inline-asm/84742
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
nestfunc-1.c
blob
29ccfc399bd725e368abedbb22d1978e7fc65779
1
/* { dg-require-effective-target trampolines } */
2
3
int
4
g
(
int
a
,
int
b
,
int
(*
gi
) (
int
,
int
))
5
{
6
if
((*
gi
) (
a
,
b
))
7
return
a
;
8
else
9
return
b
;
10
}
11
12
f
()
13
{
14
int
i
,
j
;
15
int
f2
(
int
a
,
int
b
)
16
{
17
return
a
>
b
;
18
}
19
20
if
(
g
(
1
,
2
,
f2
) !=
2
)
21
abort
();
22
}
23
24
main
()
25
{
26
f
();
27
exit
(
0
);
28
}