// Build don't link: template struct A; struct B { template friend class A; // ERROR - does not specialize any args }; struct C { template friend class A; // ERROR - partial specialization };