OSDN Git Service

* gcc.test-framework/dg-error-exp-P.c: Update message for new C parser.
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Feb 2005 23:43:05 +0000 (23:43 +0000)
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Feb 2005 23:43:05 +0000 (23:43 +0000)
* gcc.test-framework/dg-error-exp-XP.c: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95706 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.test-framework/dg-error-exp-P.c
gcc/testsuite/gcc.test-framework/dg-error-exp-XP.c

index 75fe532..a58496b 100644 (file)
@@ -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
index cb28e34..ad4baa5 100644 (file)
@@ -4,6 +4,6 @@
 
 int main (int argc, char *argv[])
 {
-  +;           /* { dg-error "syntax error" "error test" } */
+  +;           /* { dg-error "expected expression" "error test" } */
   return 0;
 }
index 856b727..d3e088d 100644 (file)
@@ -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 *-*-* } } */