// PR c++/59044 template class C { private: template struct Implementation {}; public: typedef typename Implementation<0, 0>::Typedef Type; }; template template struct C::Implementation<0, b> { typedef void Typedef; }; template class C;