summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/pr50491.C
blob: 48e7a1f743bef80b82ca923aabcb472292a8e26a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// { dg-options "-std=c++0x" }

struct GrandParent {
  void *get();
};

template<class OBJ>
struct Parent : public GrandParent{
};

template<typename T>
struct Child : public Parent<T> {
  using GrandParent::get;
  void Foo() {
    void* ex = get();
  }
};