Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
explicit-args5.C
blob: d6c9a575f9171ed0d9a70f8f1e9195a3899558c4 [
file
] [
log
] [
blame
]
// PR c++/51613
template
<
typename
F
,
typename
T
>
void
apply
(
F f
,
T t
)
{
f
(
t
);
}
template
<
typename
T
>
void
multi
(
T
)
{
}
template
<
typename
T
>
void
multi
(
T
*)
{
}
int
main
()
{
apply
(&
multi
<int>
,
7
);
// { dg-error "no match" }
return
0
;
}