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