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