Sign in
gnu
/
gcc
/
418f81eefb6540582e4818225404d4a647ad67eb
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
spec19.C
blob: f9b601125b4cc39eb86ad6bbfe542220fa226a18 [
file
] [
log
] [
blame
]
// Build don't link:
template
<
class
T
>
T f
(
T o
)
{
return
o
;
}
template
<>
int
f
(
int
o
)
{
return
o
;
}
// ERROR - after specialization
template
int
f
(
int
);
// ERROR - explicit instantiation