Sign in
gnu
/
gcc
/
1126a05deadda1ef363e0f78fd802c8ee0ea5b56
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
friend23.C
blob: 21065f1cac109dca677a01f253cb578aa24496d0 [
file
] [
log
] [
blame
]
// 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