* g++.dg/parse/parse3.C: New test.
authorNeil Booth <neil@daikokuya.co.uk>
Wed, 1 Jan 2003 00:43:53 +0000 (00:43 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Wed, 1 Jan 2003 00:43:53 +0000 (00:43 +0000)
From-SVN: r60727

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

index 8cbe76061a8829a53b39fe60bf82f8b8f5798995..ee240bd12e6a8df6a0f956e76b683b0e3a413324 100644 (file)
@@ -1,3 +1,7 @@
+2003-01-01  Neil Booth  <neil@daikokuya.co.uk>
+
+       * g++.dg/parse/parse3.C: New test.
+
 2003-01-01  Neil Booth  <neil@daikokuya.co.uk>
 
        * g++.dg/parse/parse2.C: New test.
diff --git a/gcc/testsuite/g++.dg/parse/parse3.C b/gcc/testsuite/g++.dg/parse/parse3.C
new file mode 100644 (file)
index 0000000..5f24cd1
--- /dev/null
@@ -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)) ;