diff options
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.test-framework/dg-error-exp-P.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.test-framework/dg-error-exp-XP.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 75fe5325b25..a58496be594 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2005-02-28 Janis Johnson <janis187@us.ibm.com> + + * gcc.test-framework/dg-error-exp-P.c: Update message for new C parser. + * gcc.test-framework/dg-error-exp-XP.c: Ditto. + 2005-02-28 Joseph S. Myers <joseph@codesourcery.com> PR c/20245 diff --git a/gcc/testsuite/gcc.test-framework/dg-error-exp-P.c b/gcc/testsuite/gcc.test-framework/dg-error-exp-P.c index cb28e34ce95..ad4baa569bb 100644 --- a/gcc/testsuite/gcc.test-framework/dg-error-exp-P.c +++ b/gcc/testsuite/gcc.test-framework/dg-error-exp-P.c @@ -4,6 +4,6 @@ int main (int argc, char *argv[]) { - +; /* { dg-error "syntax error" "error test" } */ + +; /* { dg-error "expected expression" "error test" } */ return 0; } diff --git a/gcc/testsuite/gcc.test-framework/dg-error-exp-XP.c b/gcc/testsuite/gcc.test-framework/dg-error-exp-XP.c index 856b7270b25..d3e088de37c 100644 --- a/gcc/testsuite/gcc.test-framework/dg-error-exp-XP.c +++ b/gcc/testsuite/gcc.test-framework/dg-error-exp-XP.c @@ -5,7 +5,7 @@ int main (int argc, char *argv[]) { +; - /* { dg-error "syntax error" "error test" { xfail *-*-* } 7 } */ + /* { dg-error "expected expression" "error test" { xfail *-*-* } 7 } */ return 0; } /* { dg-excess-errors "expect failure" { xfail *-*-* } } */ |