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
This commit is contained in:
parent
bd446804ef
commit
4a396f6e3f
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user