☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
overload14.C
☽
☼
gcc/testsuite/g++.old-deja/g++.jason/overload14.C
code
plain
raw
1
// { dg-do assemble }
2
// Bug: g++ fails to recognize that the template matches the target type.
3
4
template <class T> void foo (T *, int);
5
6
struct A;
7
void bar ()
8
{
9
void (*p)(A *, int) = &foo;
10
}