// Build don't link: template struct S1 { }; template <> struct S1 {}; struct S2 { friend class S1; };