Debian Codegraph @

gcc/testsuite/g++.dg/template/member7.C

raw
1 // PR c++/29080
2
3 struct Base {
4 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
11 void function()
12 {
13 Join join;
14 join.Left::method<int>();
15 }