Sign in
gnu
/
gcc
/
8353b540e6bf07bc4de944da9c3772c619f86a9c
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit26.C
blob: 7d1616255b21560b42d774cabdc9674e4250d2cd [
file
] [
log
] [
blame
]
// Build don't run:
// 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>
;
}