view gcc/testsuite/gcc.dg/cpp/pr36320.c @ 132:d34655255c78

update gcc-8.2
author mir3636
date Thu, 25 Oct 2018 10:21:07 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* 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