if-4.c   [plain text]


/* Regression test for proper error message.  The token name isn't
   NUL terminated, so we would print garbage after it.  */
/* { dg-do compile } */

#if 1 += 2   /* { dg-error "is not valid" "+= in if" } */
syntax_error
#endif
int foo;