// { dg-options "-std=c++0x" } struct GrandParent { void *get(); }; template struct Parent : public GrandParent{ }; template struct Child : public Parent { using GrandParent::get; void Foo() { void* ex = get(); } };