Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
bt386.c
blob: 5ba2b794d0e00c25bdd30633f5260ec3ad97ff39 [
file
] [
log
] [
blame
]
/* { dg-additional-options "-std=gnu89" } */
foo
(
a
,
b
)
{
return
(
a
&
(
1
<<
b
))
!=
0
;
}
bar
(
a
,
b
)
{
a
^=
(
1
<<
b
);
return
a
!=
0
;
}
main
()
{
int
i
;
for
(
i
=
0
;
i
<
32
;
i
++)
printf
(
"%d "
,
foo
(
0x8000000f
,
i
));
puts
(
""
);
}