Commit 5d0bca5b by Neil Booth Committed by Neil Booth

* gcc.dg/cpp/macsyntx.c: Add test for #define defined.

From-SVN: r34929
parent 12644a9a
2000-07-09 Neil Booth <NeilB@earthling.net>
* gcc.dg/cpp/macsyntx.c: Add test for #define defined.
2000-07-07 Zack Weinberg <zack@wolery.cumb.org>
* gcc.dg/cpp/19951227-1.c, gcc.dg/cpp/assert2.c,
......
......@@ -21,6 +21,7 @@
#define ; /* { dg-error "identifier" } */
#define SEMI; /* { dg-warning "space" } */
#define defined /* { dg-error "defined" } */
#define foo(X /* { dg-error "missing" } */
#define foo\
(X,) /* { dg-error "parameter name" } */
......
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