summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/graphite/id-pr45230.c
blob: 80f67697f13ec8d90ec6f6b479bcd89d901eb006 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
unsigned char buf[10];
main ()
{
  unsigned off1, len, i;
  unsigned char *p1;
  for (len = 0; len < 8; len++)
    {
      p1 = buf;
      for (i = 0; i < off1; i++)
	*p1++ = '\0';
      for (i = 0; i < len; i++)
	*p1++ = 'a';
    }
}