This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Testcase for fixed c++/80


And another.

Neil.

	* g++.dg/parse/parse3.C: New test.

Index: g++.dg/parse/parse3.C
===================================================================
RCS file: g++.dg/parse/parse3.C
diff -N g++.dg/parse/parse3.C
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ g++.dg/parse/parse3.C	1 Jan 2003 00:43:09 -0000
@@ -0,0 +1,7 @@
+/* PR c++/80 */
+/* { dg-do compile } */
+
+/* Used to get:
+  bug.C:7: semicolon missing after declaration of `numbers'
+*/
+enum numbers { zero, one, two, three } __attribute__ ((packed)) ;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]