OSDN Git Service

* gcc.dg/20020201-1.c: Use cleanup-coverage_files.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.jason / overload14.C
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 }