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