aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/900116-1.c
blob: 37c7eb789b9ce219afdd6734bb76dfd478b4a18e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
struct st {char a, b, c, d; }

zloop (struct st *s, int *p, int *q)
{
  int i;
  struct st ss;

  for (i = 0;  i < 100;  i++)
    {
      ss = s[i];
      p[i] = ss.c;
      q[i] = ss.b;
    }
}