blob: 21065f1cac109dca677a01f253cb578aa24496d0 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Build don't link:
template <class T = int> // ERROR - original definition
struct S
{ // ERROR - redefinition of default arg
template <class U = int>
friend class S;
};
template struct S<int>; // ERROR - instantiated from here
|