2 // { dg-options "-frepo" }
3 // Test that we properly generate the vtable and such for C.
4 // Contributed by scott snyder <snyder@fnal.gov>
14 struct B : virtual public A
16 virtual void foo () {}
20 struct C : virtual public A
25 struct D : public B<T>, public C<T>