friend22.C   [plain text]


// Build don't link:

template <class T = int>
struct S
{
  template <class U>
  friend class S;
};

template struct S<int>;