summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/lto/20101125-1_1.c
blob: 2924e3f26bea663952a867a06c47259d4f88bd94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
struct X {
  char i;
};

struct W {
  struct U *p;
  struct X *q;
};

struct U {
  struct W a[1];
};

void bar(struct U *ptr)
{
  ptr->a[0].p = 0;
}