]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/g++.old-deja/g++.pt/friend23.C
cp-tree.h (TI_USES_TEMPLATE_PARMS): Remove.
[thirdparty/gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / friend23.C
1 // Build don't link:
2
3 template <class T = int> // ERROR - original definition
4 struct S
5 {
6 template <class U = int>
7 friend class S;
8 };
9
10 template struct S<int>; // ERROR - redefinition of default arg