1 2 3 4 5 6 7 8 9 10
// Build don't link: template <class T = int> struct A; template <class T> struct B { friend class A<T>; }; template class B<int>;