diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb17.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb17.C index f32dadba9a5..3f2cc2f33e2 100644 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb17.C +++ b/gcc/testsuite/g++.old-deja/g++.robertl/eb17.C @@ -8,7 +8,11 @@ public: virtual A * clone(); }; -class B : virtual public A { +struct Pad { + virtual void f () {} +}; + +class B : public Pad, virtual public A { public: void print(); B * clone();