OSDN Git Service

PR c++/20669
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / unify4.C
1 // { dg-do assemble  }
2 template <class T> void f (T);  // { dg-message "candidate" }
3
4 void g ();
5 void g (int);
6
7 int
8 main ()
9 {
10   f (g);                        // { dg-error "" } ambiguous unification
11   return 0;
12 }