FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / friend23.C
blob4d37da32245bbe5d335340ef7999496fef3bc180
1 // Build don't link:
3 template <class T = int> // ERROR - original definition
4 struct S
5 { // ERROR - redefinition of default arg
6   template <class U = int>
7   friend class S;
8 };
10 template struct S<int>;