summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/pr36320.c
blob: d136a69b6b2db2d2630553f0108bdeef0a6a2486 (plain)
1
2
3
4
5
6
7
8
/* PR 36320 - #elif still requires valid expression.  */

/* { dg-do preprocess } */

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