Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit26.C
blob: ba50fac1c4f806896d8a0114987b9bf6f03457c0 [
file
] [
log
] [
blame
]
// { dg-do link }
// GROUPS passed templates
template
<
class
T
>
int
foo
(
T t
)
{
return
1
;
}
template
<>
int
foo
(
int
i
)
{
return
0
;
}
int
main
()
{
(
int
(*)(
int
))
&
foo
<int>
;
}