* gcc.dg/cpp/trad/assembler.S, gcc.dg/cpp/trad/directive.c: Update.
From-SVN: r58951
This commit is contained in:
parent
5c74d5b03c
commit
8c47cfd82a
|
@ -1,3 +1,7 @@
|
||||||
|
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 @@
|
||||||
|
|
||||||
/* { 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 @@
|
||||||
|
|
||||||
/* { 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" } */
|
||||||
|
|
Loading…
Reference in New Issue