asm2.c: Allow 'parse error' instead of 'syntax error' in the error message text.
authorUlrich Weigand <uweigand@de.ibm.com>
Mon, 22 Mar 2004 02:30:22 +0000 (02:30 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Mon, 22 Mar 2004 02:30:22 +0000 (02:30 +0000)
* gcc.dg/charset/asm2.c: Allow 'parse error' instead of 'syntax error'
in the error message text.

From-SVN: r79807

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/charset/asm2.c

index d7c7ee117a99f57c5d5d34378f415f99e307d3ec..4637c0aee3f1504a6d364ba6e2489f2f97766e52 100644 (file)
@@ -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.
index 4af7a18cf81074b1dc45378b12db847788708f0e..6726b2da5c969b9954aa8141db5f01e0f5709d30 100644 (file)
@@ -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;