2 // { dg-options "-fdump-rtl-expand" }
12 struct SubA : public virtual Base
20 class SubB : public virtual Base
22 struct Diamond : public SubA, public SubB
25 : Base(text), SubA(5), SubB() {}
42 // Verify that the SubB() mem-initializer is storing 0 directly into
43 // this->D.whatever rather than into a stack temp that is then copied into the
45 // { dg-final { scan-rtl-dump "set \[^\n\]*\n\[^\n\]*this\[^\n\]*\n\[^\n\]*const_int 0" "expand" { target { i?86-*-* x86_64-*-* } } } }