projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63fcfe8
)
Add expected error
author
Nathan Sidwell
<nathan@gcc.gnu.org>
Tue, 17 Sep 2002 08:36:04 +0000
(08:36 +0000)
committer
Nathan Sidwell
<nathan@gcc.gnu.org>
Tue, 17 Sep 2002 08:36:04 +0000
(08:36 +0000)
From-SVN: r57242
gcc/testsuite/g++.dg/other/do1.C
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.dg/other/do1.C
b/gcc/testsuite/g++.dg/other/do1.C
index 79e55c0cd51b6467a07b624c0279867ecba9653e..5ff6c5682ba47aa047488b858f827c6b36c367d6 100644
(file)
--- 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" "" }
+
}