1 // PR c++/29080 2 3 struct Base { methodBase4 template<class C> void method() { } 5 }; 6 7 struct Left : public Base { }; 8 struct Right : public Base { }; 9 struct Join : public Left, public Right { }; 10 function()11 void function() 12 { 13 Join join; 14 join.Left::method<int>(); 15 } 16