// PR c++/102300 template struct holder { template struct fn {}; struct t1 : fn {}; // pass struct t2 : holder::fn {}; // fail struct t3 : holder::template fn {}; // fail struct t4 : holder::template fn {}; // pass };