summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/noncompile
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-04 16:01:39 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-04 16:01:39 +0000
commit307568b0976b2e0d0e82956119252e77481f9e1c (patch)
tree306fb452d264c127cb564cf225cc7c20f6ea946a /gcc/testsuite/gcc.dg/noncompile
parent72ab6a85a7a4d64087253e8dc69a41db8d390fb9 (diff)
downloadgcc-307568b0976b2e0d0e82956119252e77481f9e1c.tar.gz
* gcc.dg/c90-restrict-1.c, gcc.dg/c99-arraydecl-2.c,
gcc.dg/c99-func-2.c, gcc.dg/charset/asm2.c, gcc.dg/concat.c, gcc.dg/cpp/19990413-1.c, gcc.dg/cpp/paste4.c, gcc.dg/init-desig-obs-1.c, gcc.dg/noncompile/920721-2.c, gcc.dg/noncompile/930622-2.c, gcc.dg/noncompile/940112-1.c, gcc.dg/noncompile/950921-1.c, gcc.dg/switch-2.c, objc.dg/naming-1.m, objc.dg/naming-2.m: Adjust expected messages for new parser. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90064 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/noncompile')
-rw-r--r--gcc/testsuite/gcc.dg/noncompile/920721-2.c2
-rw-r--r--gcc/testsuite/gcc.dg/noncompile/930622-2.c2
-rw-r--r--gcc/testsuite/gcc.dg/noncompile/940112-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/noncompile/950921-1.c4
4 files changed, 5 insertions, 5 deletions
diff --git a/gcc/testsuite/gcc.dg/noncompile/920721-2.c b/gcc/testsuite/gcc.dg/noncompile/920721-2.c
index c698b085ea9..b21ff994e61 100644
--- a/gcc/testsuite/gcc.dg/noncompile/920721-2.c
+++ b/gcc/testsuite/gcc.dg/noncompile/920721-2.c
@@ -2,5 +2,5 @@ void f(int n)
{
int s;
for(s=0;s<n;s++)
- s==5?1 n=1; /* { dg-error "(parse|syntax) error" } */
+ s==5?1 n=1; /* { dg-error "parse error|syntax error|expected" } */
}
diff --git a/gcc/testsuite/gcc.dg/noncompile/930622-2.c b/gcc/testsuite/gcc.dg/noncompile/930622-2.c
index 3409118f0e2..5e02d8951c4 100644
--- a/gcc/testsuite/gcc.dg/noncompile/930622-2.c
+++ b/gcc/testsuite/gcc.dg/noncompile/930622-2.c
@@ -1,6 +1,6 @@
f ()
{
int i;
- for (i--) /* { dg-error "parse|syntax" } */
+ for (i--) /* { dg-error "parse|syntax|expected" } */
;
}
diff --git a/gcc/testsuite/gcc.dg/noncompile/940112-1.c b/gcc/testsuite/gcc.dg/noncompile/940112-1.c
index 953840f6dc8..bb5e0f66c85 100644
--- a/gcc/testsuite/gcc.dg/noncompile/940112-1.c
+++ b/gcc/testsuite/gcc.dg/noncompile/940112-1.c
@@ -4,4 +4,4 @@ f (int x)
double e = 1;
e = 1;
return (e)
-} /* { dg-error "(parse|syntax) error" } */
+} /* { dg-error "parse error|syntax error|expected" } */
diff --git a/gcc/testsuite/gcc.dg/noncompile/950921-1.c b/gcc/testsuite/gcc.dg/noncompile/950921-1.c
index 0f6378524ec..f141d510bd7 100644
--- a/gcc/testsuite/gcc.dg/noncompile/950921-1.c
+++ b/gcc/testsuite/gcc.dg/noncompile/950921-1.c
@@ -1,10 +1,10 @@
typedef enum
{
- a = (X) 0, /* { dg-error "undeclared|not integer|(parse|syntax) error" } */
+ a = (X) 0, /* { dg-error "undeclared|not integer|parse error|syntax error|expected" } */
b
} c;
typedef enum
{
- d = (X) 0 /* { dg-error "undeclared|not integer|(parse|syntax) error" } */
+ d = (X) 0 /* { dg-error "undeclared|not integer|parse error|syntax error|expected" } */
} e;