summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/386.c
blob: 432cdaddd12d029121f0b6dbc4a24a699c440e2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
foo (a, p)
     int *p;
{
  p[0] = a;
  a = (short) a;
  return a;
}

main ()
{
  int i;
  foobar (i, &i);
}


foobar (a, b)
{
  int c;

  c = a % b;
  a = a / b;
  return a + b;
}