aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/cpp-1.c
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@lsd.ic.unicamp.br>2000-02-25 11:18:22 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2000-02-25 11:18:22 +0000
commitd9adf95d19f7d8d096d152d7867d4f797bd9277d (patch)
treeca924f674fcb5352e087c9e2773e6273179cb9b1 /gcc/testsuite/gcc.c-torture/compile/cpp-1.c
parente0bf2d95531e054e687c7116b2ad2ccf5fc29845 (diff)
downloadgcc-d9adf95d19f7d8d096d152d7867d4f797bd9277d.zip
gcc-d9adf95d19f7d8d096d152d7867d4f797bd9277d.tar.gz
gcc-d9adf95d19f7d8d096d152d7867d4f797bd9277d.tar.bz2
* compile/cpp-1.c: New test.
From-SVN: r32148
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/cpp-1.c')
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/cpp-1.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/cpp-1.c b/gcc/testsuite/gcc.c-torture/compile/cpp-1.c
new file mode 100644
index 0000000..09d49bc
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/compile/cpp-1.c
@@ -0,0 +1,8 @@
+/* Copyright (C) 2000 Free Software Foundation.
+
+ by Alexandre Oliva <oliva@lsd.ic.unicamp.br> */
+
+#define foo/**/1
+#if foo != 1
+# error "foo not properly defined"
+#endif