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
2002-05-10 David S. Miller <davem@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
990923-1.c
blob
4f4e87abcf443f53a6f02218d1806547b6d358c1
1
#define mask 0xffff0000L
2
#define value 0xabcd0000L
3
4
long
5
foo
(
long
x
)
6
{
7
if
((
x
&
mask
) ==
value
)
8
return
x
&
0xffff
L
;
9
return
1
;
10
}
11
12
int
13
main
(
void
)
14
{
15
if
(
foo
(
value
) !=
0
||
foo
(
0
) !=
1
)
16
abort
();
17
18
exit
(
0
);
19
}