diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-06-02 12:39:39 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-06-02 12:39:39 +0000 |
commit | 2fb581a932680f7c9031a388d83fd9461ae5aff7 (patch) | |
tree | 3fc3c7221a155722969c9d76ed30e1b1127f4ad2 /gcc/testsuite/gcc.dg/cpp | |
parent | c643c550aace860f7d2ab17015f684444cb88c53 (diff) | |
download | gcc-2fb581a932680f7c9031a388d83fd9461ae5aff7.tar.gz |
2008-06-02 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r136272
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@136278 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/pr36320.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/pr36320.c b/gcc/testsuite/gcc.dg/cpp/pr36320.c new file mode 100644 index 00000000000..d136a69b6b2 --- /dev/null +++ b/gcc/testsuite/gcc.dg/cpp/pr36320.c @@ -0,0 +1,8 @@ +/* PR 36320 - #elif still requires valid expression. */ + +/* { dg-do preprocess } */ + +int z; +#if 1 +#elif /* { dg-error "with no expression" } */ +#endif |