Debian Codegraph @

testsuite/small/record-3.c

raw
1 /* { dg-options "-DCE_EXTRACT_FUNCTIONS=f -DCE_NO_EXTERNALIZATION" }*/
2 struct list {
3 struct list *next;
4 };
5
6 struct list *f(const struct list *l)
7 {
8 return l->next;
9 }
10
11 /* { dg-final { scan-tree-dump "struct list {\n *struct list \*next;\n};" } } */
12 /* { dg-final { scan-tree-dump "return l->next" } } */