OSDN Git Service

Initial revision
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.jason / overload14.C
1 // Bug: g++ fails to recognize that the template matches the target type.
2 // Build don't link:
3
4 template <class T> void foo (T *, int);
5
6 struct A;
7 void bar ()
8 {
9   void (*p)(A *, int) = &foo;
10 }