Sign in
gnu
/
gcc
/
b1143e51359be3b1151d892970f43ae67dee64d2
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memtemp64.C
blob: 6185d3d60583b11bf6dcf0f1ae1518fa758820b4 [
file
] [
log
] [
blame
]
// Build don't link:
template
<
class
T
>
struct
S1
{};
template
<
class
T
>
void
f
(
T
);
template
<
class
C
>
struct
S2
{
template
<
class
T
>
void
f
<
S1
<
T
>
>(
T
)
{}
// ERROR - bad specialization.
};
template
<
class
T
>
struct
S3
{
friend
class
S2
<
T
>;
};