summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/lto/20100720-2_0.c
blob: 87b13b0de922d382b08d025f0475b2260d018d59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* { dg-lto-do run } */

struct X {
  int a;
};

typedef struct list_node *list;

struct list_node {
  list next;
  list *ptr;
  struct X *value;
};

list f(list lst)
{
  return lst->next;
}

int main(void)
{
  return 0;
}