new
authorJason Merrill <jason@gcc.gnu.org>
Wed, 28 Oct 1998 11:44:23 +0000 (06:44 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 28 Oct 1998 11:44:23 +0000 (06:44 -0500)
From-SVN: r23401

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

diff --git a/gcc/testsuite/g++.old-deja/g++.pt/explicit75.C b/gcc/testsuite/g++.old-deja/g++.pt/explicit75.C
new file mode 100644 (file)
index 0000000..433f0b1
--- /dev/null
@@ -0,0 +1,11 @@
+// Test for not complaining about mismatches during unification.
+// Build don't link:
+
+template <void (*F)(int)> void f();
+template <void (*F)(double)> void f();
+extern void g(double);
+
+void h ()
+{
+  f<g>();
+}