OSDN Git Service

New test
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Aug 1998 18:00:56 +0000 (18:00 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Aug 1998 18:00:56 +0000 (18:00 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22065 138bc75d-0d04-0410-961f-82ee72b054a4

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);