Commit 8c47cfd8 by Neil Booth Committed by Neil Booth

* gcc.dg/cpp/trad/assembler.S, gcc.dg/cpp/trad/directive.c: Update.

From-SVN: r58951
parent 5c74d5b0
2002-11-09 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/trad/assembler.S, gcc.dg/cpp/trad/directive.c: Update.
2002-11-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> 2002-11-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/8389 PR c++/8389
......
...@@ -4,6 +4,10 @@ ...@@ -4,6 +4,10 @@
/* { dg-do preprocess } */ /* { dg-do preprocess } */
#ifndef FOO
#1 /* Once caused a bogus unterminated #ifndef. */
#endif
#define foo() mov r0, #5 /* { dg-bogus "not followed" "spurious warning" } */ #define foo() mov r0, #5 /* { dg-bogus "not followed" "spurious warning" } */
entry: entry:
......
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
/* { dg-do preprocess } */ /* { dg-do preprocess } */
#define HASH #
HASH
/* There is a #error directive. */ /* There is a #error directive. */
#error bad /* { dg-error "bad" } */ #error bad /* { dg-error "bad" } */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment