testsuite/small/record-nested-5.c
raw| 1 | /* { dg-options "-DCE_EXTRACT_FUNCTIONS=f -DCE_NO_EXTERNALIZATION" }*/ |
| 2 | |
| 3 | struct ll; |
| 4 | |
| 5 | int get(struct ll *); |
| 6 | |
| 7 | struct ll { |
| 8 | union { |
| 9 | unsigned long key; |
| 10 | void *key_ptr; |
| 11 | }; |
| 12 | struct ll *next; |
| 13 | }; |
| 14 | |
| 15 | int f(struct ll *l) |
| 16 | { |
| 17 | return get(l); |
| 18 | } |
| 19 | |
| 20 | /* { dg-final { scan-tree-dump-not "struct ll *{" } } */ |