8sa1-gcc/gcc/testsuite/gcc.c-torture/unsorted/bt386.c
Jeff Law 921e5a0eb4 Initial revision
From-SVN: r14840
1997-08-19 01:34:40 -06:00

19 lines
198 B
C

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 ("");
}