From fc62c26c4635dcf3b36202974dbb38e83ad0245e Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 17 Sep 2002 08:36:04 +0000 Subject: [PATCH] Add expected error git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57242 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/g++.dg/other/do1.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/other/do1.C b/gcc/testsuite/g++.dg/other/do1.C index 79e55c0..5ff6c56 100644 --- a/gcc/testsuite/g++.dg/other/do1.C +++ b/gcc/testsuite/g++.dg/other/do1.C @@ -8,5 +8,6 @@ void init () { do { } while (0) - obj = 0; + obj = 0; // { dg-error "parse error" "" } + } -- 2.7.4