921e5a0eb4
From-SVN: r14840
18 lines
204 B
C
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));
|
|
}
|