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

24 lines
232 B
C

main ()
{
int i;
int f;
for (i = 0;; i--)
{
f = 0;
if ((i & (i - 1)) == 0)
{
printf ("d");
f = 1;
}
if ((i & -i) == i)
{
printf ("t");
f = 1;
}
if (f)
printf ("%d\n", i);
}
}