New test
authorMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 28 Aug 1998 18:00:56 +0000 (18:00 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 28 Aug 1998 18:00:56 +0000 (18:00 +0000)
From-SVN: r22065

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

diff --git a/gcc/testsuite/g++.old-deja/g++.pt/typename11.C b/gcc/testsuite/g++.old-deja/g++.pt/typename11.C
new file mode 100644 (file)
index 0000000..2148643
--- /dev/null
@@ -0,0 +1,16 @@
+// Build don't link:
+// Special g++ Options:
+// excess errors test - XFAIL *-*-*
+
+template <class T, int I>
+struct S {
+  struct X {};
+};
+
+template <class T, class U, int I>
+void f(T, U)
+{
+  S<T, I>::X();
+}
+
+template void f<int, double, 3>(int, double);