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