FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / friend24.C
blobd312b3854ea9f256cbc83bf48be3b39a42ab5619
1 // Build don't link:
3 template <class T>
4 struct S
6   template <class U = T>
7   friend class S;
9   void f(T);
12 template struct S<int>;
14 void g()
16   S<> s;
17   s.f(3);