blob: 3a5930c0f31469f26aa3a39bc7893053207b24da [file] [log] [blame]
// PR c++/102300
template<typename T>
struct holder
{
template<typename F> struct fn {};
struct t1 : fn<T> {}; // pass
struct t2 : holder<T >::fn<T> {}; // fail
struct t3 : holder<T >::template fn<T> {}; // fail
struct t4 : holder<T*>::template fn<T> {}; // pass
};