new
authorJason Merrill <jason@gcc.gnu.org>
Wed, 11 Nov 1998 03:37:20 +0000 (22:37 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 11 Nov 1998 03:37:20 +0000 (22:37 -0500)
From-SVN: r23604

gcc/testsuite/g++.old-deja/g++.pt/unify4.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.old-deja/g++.pt/unify4.C b/gcc/testsuite/g++.old-deja/g++.pt/unify4.C
new file mode 100644 (file)
index 0000000..259920d
--- /dev/null
@@ -0,0 +1,11 @@
+template <class T> void f (T);
+
+void g ();
+void g (int);
+
+int
+main ()
+{
+  f (g);                       // ERROR - ambiguous unification
+  return 0;
+}