Sign in
llvm
/
llvm-archive
/
cfaec05de39adb34392b8c7b1ad4b32abbf3663d
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
overload14.C
blob: a4c6cff8a2171992dabe0c3bd29814fdf7e02184 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Bug: g++ fails to recognize that the template matches the target type.
template
<
class
T
>
void
foo
(
T
*,
int
);
struct
A
;
void
bar
()
{
void
(*
p
)(
A
*,
int
)
=
&
foo
;
}