summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/addcc.c
blob: cf52307aa97947db7e105974de84dd72725525e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
foo (p, a, b)
     int *p;
     int a;
     int b;
{

  a += p[0];
  b += p[1];
  if (a == 0)
    return b;
  return a;
}


bar (a)
{
  return -a > 0 ? 1 : 2;
}