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
/
950706-1.c
blob
2db1915411c18914646831e394da0e3a2f4a68ba
1
int
2
f
(
int
n
)
3
{
4
return
(
n
>
0
) - (
n
<
0
);
5
}
6
7
main
()
8
{
9
if
(
f
(-
1
) != -
1
)
10
abort
();
11
if
(
f
(
1
) !=
1
)
12
abort
();
13
if
(
f
(
0
) !=
0
)
14
abort
();
15
exit
(
0
);
16
}