// { dg-do compile { target c++11 } } struct GrandParent { void *get(); }; template struct Parent : public GrandParent{ }; template struct Child : public Parent { using GrandParent::get; void Foo() { void* ex = get(); } };