OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
gcc:
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20060102-1.c
1
extern void abort ();
2
3
int f(int x)
4
{
5
return (x >> 31) ? -1 : 1;
6
}
7
8
int main (int argc)
9
{
10
/* Test that the function above returns different values for
11
different signs. */
12
if (f(argc) == f(-argc))
13
abort ();
14
return 0;
15
}
16