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

18 lines
204 B
C

foo (a, b)
{
unsigned x = 1;
a += b;
a += x;
if (a <= 0)
return 1;
return 0;
}
main ()
{
printf ("%d\n", foo (1, ~0));
printf ("%d\n", foo (0, ~0));
printf ("%d\n", foo (-1, ~0));
}