1 2 3 4 5 6
// { dg-do assemble } class A {}; class B : public virtual A {}; template <class Imp> class C : public Imp {}; template class C<B>;