diff options
author | Zack Weinberg <zack@codesourcery.com> | 2004-09-11 21:17:23 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2004-09-11 21:17:23 +0000 |
commit | e6858057449b72a53389616073b72b3778c2cf63 (patch) | |
tree | dcfd475f7000b9c5ad4d80023f53192f6a7c649c | |
parent | a38b644be61f5131051591c489f343b6008e555e (diff) | |
download | gcc-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/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20040910-1.c | 2 |
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\"" } */ |