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

typedef struct list_node *list;

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

list *g(list *ptr)
{
  return ptr;
}