diff options
author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-25 11:18:22 +0000 |
---|---|---|
committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-25 11:18:22 +0000 |
commit | 46af3867ac8aa030025a890d914cebcaa6eedd2e (patch) | |
tree | ca924f674fcb5352e087c9e2773e6273179cb9b1 | |
parent | 1286b1f050da67689dbe14f86d5ac564c0846639 (diff) | |
download | gcc-46af3867ac8aa030025a890d914cebcaa6eedd2e.tar.gz |
* compile/cpp-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32148 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/testsuite/gcc.c-torture/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/cpp-1.c | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/ChangeLog b/gcc/testsuite/gcc.c-torture/ChangeLog index e7fdd999b69..a306738acbf 100644 --- a/gcc/testsuite/gcc.c-torture/ChangeLog +++ b/gcc/testsuite/gcc.c-torture/ChangeLog @@ -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 index 00000000000..09d49bc61fd --- /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 |