From: Zack Weinberg Date: Sat, 11 Sep 2004 21:17:23 +0000 (+0000) Subject: * gcc.dg/20040910-1.c: Correct dg-error regexp. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6858057449b72a53389616073b72b3778c2cf63;p=gcc.git * gcc.dg/20040910-1.c: Correct dg-error regexp. From-SVN: r87373 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 27c1ecf8644..f7d6b82f011 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-09-11 Zack Weinberg + + * gcc.dg/20040910-1.c: Correct dg-error regexp. + 2004-09-11 Steven Bosscher * 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 8d27c732f35..25b51ff7e1b 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\"" } */