gcc/testsuite/gcc.c-torture/compile/zero-strct-5.c
raw| 1 | /* Check that the inliner does not crash for this testcase. |
| 2 | gimple_expr can change the expr to NULL meaning that we |
| 3 | should not add any statement. */ |
| 4 | struct f {}; |
| 5 | struct g1 {struct f l;}; |
| 6 | |
| 7 | static inline void g(struct f a, int i){} |
| 8 | |
| 9 | void h(void) |
| 10 | { |
| 11 | struct g1 t; |
| 12 | g(t.l , 1); |
| 13 | } |
| 14 |