Sign in
gnu
/
gcc
/
e5cfb9cac1d7aba9a8ea73bfe7922cfaff9d61f3
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
990923-1.c
blob: 4f4e87abcf443f53a6f02218d1806547b6d358c1 [
file
] [
log
] [
blame
]
#define
mask
0xffff0000L
#define
value
0xabcd0000L
long
foo
(
long
x
)
{
if
((
x
&
mask
)
==
value
)
return
x
&
0xffffL
;
return
1
;
}
int
main
(
void
)
{
if
(
foo
(
value
)
!=
0
||
foo
(
0
)
!=
1
)
abort
();
exit
(
0
);
}