summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/pr36320.c
blob: cc2baa73e1fb2f44045bc534b678db9b8522d91c (plain)
1
2
3
4
5
6
7
8
/* PR 36320 - #elif still requires valid expression.  */
/* DR#412: #elif doesn't have to be valid expression (PR60570).  */
/* { dg-do preprocess } */

int z;
#if 1
#elif	/* { dg-bogus "with no expression" } */
#endif