2 // Submitted by Nathan Sidwell <nathan@acm.org>
3 // Bug: g++ wasn't listing candidates for a failed conversion.
5 void f(int, double); // { dg-error "" } candidate
6 void f(double, int); // { dg-error "" } candidate
7 void f(int); // { dg-error "" } candidate
12 void (*ptr)(int, int);
14 ptr = &f; // { dg-error "" } no match