Sign in
gnu
/
gcc
/
1126a05deadda1ef363e0f78fd802c8ee0ea5b56
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
overload14.C
blob: 6a5d3dc2d5ac7bedd9b226c4a529afc91bc353b5 [
file
] [
log
] [
blame
]
// Bug: g++ fails to recognize that the template matches the target type.
// Build don't link:
template
<
class
T
>
void
foo
(
T
*,
int
);
struct
A
;
void
bar
()
{
void
(*
p
)(
A
*,
int
)
=
&
foo
;
}