From e6858057449b72a53389616073b72b3778c2cf63 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Sat, 11 Sep 2004 21:17:23 +0000 Subject: [PATCH] * gcc.dg/20040910-1.c: Correct dg-error regexp. From-SVN: r87373 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/20040910-1.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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\"" } */ -- 2.30.2