summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/unify4.C
blob: 6dd9961088d17c25515f005d4f8bc9a1c031630a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { 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" "candidate note" { target *-*-* } 10 }
  return 0;
}