blob: 9285b21c2ee860c46fe23e854ae256dff7828172 [file] [log] [blame]
// { dg-do assemble }
template <class T> void f (T); // { dg-message "note" }
void g ();
void g (int);
int
main ()
{
f (g); // { dg-error "" } ambiguous unification
// { dg-message "(candidate|deduce template parameter)" "candidate note" { target *-*-* } 10 }
return 0;
}