Sign in
gnu
/
gcc
/
e8cbc2e256b3e9568288594d9f90a2015d31b55a
/
.
/
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