aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Weinberg <zack@codesourcery.com>2004-09-11 21:17:23 +0000
committerZack Weinberg <zack@gcc.gnu.org>2004-09-11 21:17:23 +0000
commite6858057449b72a53389616073b72b3778c2cf63 (patch)
treedcfd475f7000b9c5ad4d80023f53192f6a7c649c
parenta38b644be61f5131051591c489f343b6008e555e (diff)
downloadgcc-e6858057449b72a53389616073b72b3778c2cf63.zip
gcc-e6858057449b72a53389616073b72b3778c2cf63.tar.gz
gcc-e6858057449b72a53389616073b72b3778c2cf63.tar.bz2
* gcc.dg/20040910-1.c: Correct dg-error regexp.
From-SVN: r87373
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/20040910-1.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 27c1ecf..f7d6b82 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2004-09-11 Zack Weinberg <zack@codesourcery.com>
+
+ * gcc.dg/20040910-1.c: Correct dg-error regexp.
+
2004-09-11 Steven Bosscher <stevenb@suse.de>
* g++.dg/parse/break-in-for.C: New test.
diff --git a/gcc/testsuite/gcc.dg/20040910-1.c b/gcc/testsuite/gcc.dg/20040910-1.c
index 8d27c73..25b51ff 100644
--- a/gcc/testsuite/gcc.dg/20040910-1.c
+++ b/gcc/testsuite/gcc.dg/20040910-1.c
@@ -1,2 +1,2 @@
/* Tests error recovery for invalid code. */
-__attribute__((foo) int f (){} /* { dg-error "syntax error before \"int\"" } */
+__attribute__((foo) int f (){} /* { dg-error "(parse|syntax) error before \"int\"" } */