This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

tradcpp testcase


Forgot to post this.

Neil.

	* gcc.dg/cpp/defined_trad.c: New test.

Index: defined_trad.c
===================================================================
RCS file: defined_trad.c
diff -N defined_trad.c
--- /dev/null	Tue May  5 13:32:27 1998
+++ defined_trad.c	Mon Dec 11 12:24:55 2000
@@ -0,0 +1,12 @@
+/* Copyright (C) 2000 Free Software Foundation, Inc.  */
+
+/* { dg-do preprocess } */
+/* { dg-options "-traditional" } */
+
+/* Tests tradcpp0 with defined.  */
+
+/*  Source: Neil Booth, 11 Dec 2000.  */
+
+#if defined REGPARMS
+#error REGPARMS should not be defined
+#endif

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]