(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
pr50491.C
// { dg-do compile { target c++11 } }

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();
  }
};