]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
This commit was manufactured by cvs2svn to create branch
authorNo Author <no-author@gcc.gnu.org>
Thu, 2 Dec 2004 11:51:33 +0000 (11:51 +0000)
committerNo Author <no-author@gcc.gnu.org>
Thu, 2 Dec 2004 11:51:33 +0000 (11:51 +0000)
'gcc-3_4-branch'.

From-SVN: r91631

gcc/testsuite/g++.dg/parse/enum2.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.dg/parse/enum2.C b/gcc/testsuite/g++.dg/parse/enum2.C
new file mode 100644 (file)
index 0000000..f29d3b5
--- /dev/null
@@ -0,0 +1,7 @@
+// { dg-do compile }
+
+// Origin: Volker Reichelt <reichelt@gcc.gnu.org>
+
+// PR c++/18123: ICE pushing tag from invalid template.
+
+template<int> enum E { e }; // { dg-error "template declaration" }