OSDN Git Service

/cp
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / pr50491.C
1 // { dg-options "-std=c++0x" }
2
3 struct GrandParent {
4   void *get();
5 };
6
7 template<class OBJ>
8 struct Parent : public GrandParent{
9 };
10
11 template<typename T>
12 struct Child : public Parent<T> {
13   using GrandParent::get;
14   void Foo() {
15     void* ex = get();
16   }
17 };