Add expected error
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Sep 2002 08:36:04 +0000 (08:36 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Sep 2002 08:36:04 +0000 (08:36 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57242 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/g++.dg/other/do1.C

index 79e55c0..5ff6c56 100644 (file)
@@ -8,5 +8,6 @@
 void init ()
 {
   do {  } while (0)
-  obj = 0;
+           obj = 0; // { dg-error "parse error" "" }
+     
 }