gcc/gcc/testsuite/gcc.c-torture/compile/zero-strct-5.c

15 lines
284 B
C

/* Check that the inliner does not crash for this testcase.
gimple_expr can change the expr to NULL meaning that we
should not add any statement. */
struct f {};
struct g1 {struct f l;};
static inline void g(struct f a, int i){}
void h(void)
{
struct g1 t;
g(t.l , 1);
}