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 middle-end/77357 - strlen of constant strings not folded
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
921208-1.c
blob
143ef63b0c9c0d9fac1e5d2b7a9004e27d07c602
1
double
2
f
(
double
x
)
3
{
4
return
x
*
x
;
5
}
6
7
double
8
Int
(
double
(*
f
)(
double
),
double
a
)
9
{
10
return
(*
f
)(
a
);
11
}
12
13
main
()
14
{
15
if
(
Int
(&
f
,
2.0
) !=
4.0
)
16
abort
();
17
exit
(
0
);
18
}