diff options
author | Joseph Myers <joseph@codesourcery.com> | 2004-11-04 16:01:39 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2004-11-04 16:01:39 +0000 |
commit | 04466541694c16ab99f6905a902110eb50381068 (patch) | |
tree | 306fb452d264c127cb564cf225cc7c20f6ea946a /gcc/testsuite/gcc.dg/charset | |
parent | 4e5813dd13475bfe2e16b30707450ea51477a467 (diff) | |
download | gcc-04466541694c16ab99f6905a902110eb50381068.zip gcc-04466541694c16ab99f6905a902110eb50381068.tar.gz gcc-04466541694c16ab99f6905a902110eb50381068.tar.bz2 |
c90-restrict-1.c, [...]: Adjust expected messages for new parser.
* 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.
From-SVN: r90064
Diffstat (limited to 'gcc/testsuite/gcc.dg/charset')
-rw-r--r-- | gcc/testsuite/gcc.dg/charset/asm2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/charset/asm2.c b/gcc/testsuite/gcc.dg/charset/asm2.c index 6726b2d..bfca86c 100644 --- a/gcc/testsuite/gcc.dg/charset/asm2.c +++ b/gcc/testsuite/gcc.dg/charset/asm2.c @@ -3,13 +3,13 @@ the string "foobar" should be translated. */ /* { dg-do compile } */ /* { dg-require-iconv "IBM-1047" } */ -asm (not_a_string); /* { dg-error "(parse|syntax) error before" "not_a_string" } */ +asm (not_a_string); /* { dg-error "(parse error|syntax error|expected string literal) before" "not_a_string" } */ char x[] = "foobar"; void foo (void) { char *y; - asm (not_a_string2); /* { dg-error "(parse|syntax) error before" "not_a_string" } */ + asm (not_a_string2); /* { dg-error "(parse error|syntax error|expected string literal) before" "not_a_string" } */ #define FOO "walrus" y = FOO; |