aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/ase.c
blob: 3f4e13d139b1a2bfdc4a7d354980ecc3014e1db3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-additional-options "-std=gnu89" } */

ase (p)
     short *p;
{
  int a;
  a = p[1];
  p[2] = a;
  if ((short) a)
    p[a]++;
  return (a == 0);
}