naming-1.m: Use "(parse|syntax) error".

* objc.dg/naming-1.m: Use "(parse|syntax) error".
        * objc.dg/naming-2.m: Likewise.

From-SVN: r64503
This commit is contained in:
Zack Weinberg 2003-03-17 20:58:44 +00:00 committed by Zack Weinberg
parent 405a98aa2b
commit 0fef2ffc6f
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-03-17 Zack Weinberg <zack@codesourcery.com>
* objc.dg/naming-1.m: Use "(parse|syntax) error".
* objc.dg/naming-2.m: Likewise.
2003-03-17 Mark Mitchell <mark@codesourcery.com>
PR c++/9639

View File

@ -17,5 +17,5 @@ void foo(void)
void bar(void)
{
View *view; /* ok */
View = 1; /* { dg-error "parse error" } */
View = 1; /* { dg-error "(parse|syntax) error" } */
}

View File

@ -4,7 +4,7 @@
@interface Foo
@end
float Foo; /* { dg-error "parse error before" } */
float Foo; /* { dg-error "(parse|syntax) error" } */
double Bar;
@interface Bar