OSDN Git Service

PR c++/51925
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / using20.C
1 // PR c++/51925
2
3 struct E
4 {
5   int e ();
6 };
7 template <typename T1>
8 struct G : public E
9 {
10   using E::e;
11   template <int> void e ();
12   void f () { e <0> (); }
13 };
14 int f(void)
15 {
16   G<int> a;
17   a.f();
18 }