Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit6.C
blob: ea1f97a742aabdbcfe80d01592453ef92e7f7394 [
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
i
)
{
return
0
;
}
int
main
()
{
return
foo
<int>
(
3.0
);
}