blob: 55b1037d81339a69406508a778eb2359a1971512 [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 *-*-* } .-1 }
return 0;
}