aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2004-03-22 02:30:22 +0000
committerUlrich Weigand <uweigand@gcc.gnu.org>2004-03-22 02:30:22 +0000
commit4a396f6e3f8e57eb79edfab4851b4415e4ea883f (patch)
tree1a7fe2472eedcb37384f38ca8dffcb736dda0839 /gcc
parentbd446804ef59c188bc5c0425f07ecda33cf066f7 (diff)
downloadgcc-4a396f6e3f8e57eb79edfab4851b4415e4ea883f.zip
gcc-4a396f6e3f8e57eb79edfab4851b4415e4ea883f.tar.gz
gcc-4a396f6e3f8e57eb79edfab4851b4415e4ea883f.tar.bz2
asm2.c: Allow 'parse error' instead of 'syntax error' in the error message text.
* gcc.dg/charset/asm2.c: Allow 'parse error' instead of 'syntax error' in the error message text. From-SVN: r79807
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/charset/asm2.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index d7c7ee1..4637c0a 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-21 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * gcc.dg/charset/asm2.c: Allow 'parse error' instead of 'syntax error'
+ in the error message text.
+
2004-03-21 Gabriel Dos Reis <gdr@integrable-solutions.net>
* g++.dg/template/qualttp20.C: Adjust dg- regexp.
diff --git a/gcc/testsuite/gcc.dg/charset/asm2.c b/gcc/testsuite/gcc.dg/charset/asm2.c
index 4af7a18..6726b2d 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 "syntax error before" "not_a_string" } */
+asm (not_a_string); /* { dg-error "(parse|syntax) error before" "not_a_string" } */
char x[] = "foobar";
void foo (void)
{
char *y;
- asm (not_a_string2); /* { dg-error "syntax error before" "not_a_string" } */
+ asm (not_a_string2); /* { dg-error "(parse|syntax) error before" "not_a_string" } */
#define FOO "walrus"
y = FOO;