Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit19.C
blob: 053629ad7281d41a827802a17922478ce6bfedd5 [
file
] [
log
] [
blame
]
// { dg-do link }
// { dg-options "-ansi -pedantic-errors -w" }
// GROUPS passed templates
template
<
class
T
>
int
foo
(
T t
);
template
<>
int
foo
<int>
(
int
i
)
{
return
0
;
}
int
main
()
{
return
foo
<int>
(
3.0
);
}