* compile/cpp-1.c: New test.
authorAlexandre Oliva <oliva@lsd.ic.unicamp.br>
Fri, 25 Feb 2000 11:18:22 +0000 (11:18 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Fri, 25 Feb 2000 11:18:22 +0000 (11:18 +0000)
From-SVN: r32148

gcc/testsuite/gcc.c-torture/ChangeLog
gcc/testsuite/gcc.c-torture/compile/cpp-1.c [new file with mode: 0644]

index e7fdd99..a306738 100644 (file)
@@ -1,3 +1,7 @@
+2000-02-25  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
+
+       * compile/cpp-1.c: New test.
+
 2000-02-23  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
 
        * execute/va-arg-13.c: New test.
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 (file)
index 0000000..09d49bc
--- /dev/null
@@ -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