1 /* { dg-do compile } */
5 virtual void dispatch();
8 template <typename> class F : public virtual C {};
10 struct I : F<A>, F<int> {};
14 L(D &, int &p2) : map_(p2) {}
15 virtual void traverse(int &p1) {
21 template <typename> void names(int &, C &p2) { p2.dispatch(); }
25 G(D &, int &p2) : map_(p2) { L(*this, map_); }
30 void fn1(D &p1) { G(p1, a); }