Sign in
gnu
/
gcc
/
1126a05deadda1ef363e0f78fd802c8ee0ea5b56
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit67.C
blob: c8705f425646ef26a484703176a62aab99872c41 [
file
] [
log
] [
blame
]
struct
S
{
void
f
(
int
);
void
f
(
double
);
};
void
g
(
int
);
void
g
(
double
);
template
<
int
*
IP
>
void
foo
();
template
<
long
l
>
void
foo
();
void
bar
()
{
foo
<
S
::
f
>();
// ERROR - no matching function
foo
<g>
();
// ERROR - no matching function
}