OSDN Git Service

2014-02-26 Fabien Chene <fabien@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / member7.C
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 }