2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / unsorted / mregtst.c
blobb6bb6c21f55e9a89e2a759597de112d59aeec958
1 foo (a, p)
2 int *p;
4 int old, new, i;
6 old = 0;
7 for (i = 1; i < 100; i++)
9 new = p[i];
10 if (new < old)
11 a++;
12 old = new;
13 if (old == 0)
14 return 0;
16 return a;