// PR c++84694 ICE on friend decl template struct a { template void b(); friend void b<0>(); // ICEd with useless friend decl };