Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
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>
;
}