1// { dg-do compile { target c++11 } } 2 3struct GrandParent { 4 void *get(); 5}; 6 7template<class OBJ> 8struct Parent : public GrandParent{ 9}; 10 11template<typename T> 12struct Child : public Parent<T> { 13 using GrandParent::get; 14 void Foo() { 15 void* ex = get(); 16 } 17}; 18