Sign in
llvm
/
llvm-archive
/
47f46514d69ad808308539dc6c69b907868fcf8a
/
.
/
llvm-gcc-4.2
/
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
);
}