]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
new
authorJason Merrill <jason@gcc.gnu.org>
Thu, 29 Oct 1998 02:27:41 +0000 (21:27 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 29 Oct 1998 02:27:41 +0000 (21:27 -0500)
From-SVN: r23421

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

diff --git a/gcc/testsuite/g++.old-deja/g++.pt/spec23.C b/gcc/testsuite/g++.old-deja/g++.pt/spec23.C
new file mode 100644 (file)
index 0000000..0e9ee61
--- /dev/null
@@ -0,0 +1,10 @@
+/* [temp.expl.spec] p18.  */
+
+template<class T>
+struct A {
+  template <class U> class B { };
+};
+
+template<class T>
+class A<T>::B<void> {          // ERROR - only one template header
+};