1 2 3 4 5 6 7 8 9 10 11
// PR c++/22136 struct B { void foo(); }; template <typename T> class I : public B {}; template <typename T> class D : private I<T> { I<T>::B::foo; };