summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/mword.c
blob: 873e08868c53bf2325f78764a2aa0880c1e8bb54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
int
foo (a, b)
int *a,  *b;
{
  int x, y;
  x++;
  *a = *b;
  y = *b;

  if ((int) x)
    return 1;
  else
    return y;
}

foo1 (p)
     int *p;
{
  p[0] = p[1];
  return p[0];
}

foo2 (p, x)
     int *p;
{
  p[0] = x;
  return p[0];
}