aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mmitchel@gcc.gnu.org>1998-08-28 18:00:56 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1998-08-28 18:00:56 +0000
commit21d886ac9bba8be33bc0717266a30116b4089e69 (patch)
tree53d834af69b094b681b4f2760c25f8d90b1e1986 /gcc
parent479781c51360fe41b9e0f4222157f8d12f4db43f (diff)
downloadgcc-21d886ac9bba8be33bc0717266a30116b4089e69.zip
gcc-21d886ac9bba8be33bc0717266a30116b4089e69.tar.gz
gcc-21d886ac9bba8be33bc0717266a30116b4089e69.tar.bz2
New test
From-SVN: r22065
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/typename11.C16
1 files changed, 16 insertions, 0 deletions
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
index 0000000..2148643
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.pt/typename11.C
@@ -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);