1 2 3 4 5 6 7 8 9 10
// { dg-do assemble } // Origin: Mark Mitchell <mark@codesourcery.com> template <class T> struct S { template <class U> friend struct S2; }; template struct S<int>;