Fix unused warnings.
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.c-torture / execute / 20000313-1.c
blob5c9a5569bdc37aa3b17b07d49cddaabc1472b311
1 unsigned int buggy (unsigned int *param)
3 unsigned int accu, zero = 0, borrow;
4 accu = - *param;
5 borrow = - (accu > zero);
6 *param += accu;
7 return borrow;
10 int main (void)
12 unsigned int param = 1;
13 unsigned int borrow = buggy (&param);
15 if (param != 0)
16 abort ();
17 if (borrow + 1 != 0)
18 abort ();
19 return 0;