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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
990923-1.c
blob
1494e96ad9fe4cc7369a58fdb5d35953b2eac664
1
void
abort
(
void
);
2
void
exit
(
int
);
3
4
#define mask 0xffff0000L
5
#define value 0xabcd0000L
6
7
long
8
foo
(
long
x
)
9
{
10
if
((
x
&
mask
) ==
value
)
11
return
x
&
0xffff
L
;
12
return
1
;
13
}
14
15
int
16
main
(
void
)
17
{
18
if
(
foo
(
value
) !=
0
||
foo
(
0
) !=
1
)
19
abort
();
20
21
exit
(
0
);
22
}