* g++.dg/other/semicolon.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104378
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-09-17 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR c++/18368
+ * g++.dg/other/semicolon.C: New test.
+
2005-09-16 Joseph S. Myers <joseph@codesourcery.com>
* g++.dg/warn/huge-val1.C: Disable tests on values of HUGE_VAL,
--- /dev/null
+// PR c++/18368
+// Origin: Chris Lattner <sabre@nondot.org>
+// { dg-do compile }
+
+struct A
+{
+ struct B { int i; }
+ void foo(); // { dg-error "two or more|return type" }
+}; // { dg-error "semicolon is missing" "" { target *-*-* } 8 }