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

struct link {
  struct list_node *next;
};

struct list_node {
  struct link lnk;
  struct X *value;
};

void g(struct list_node *lst)
{
  lst->lnk.next = 0;
}