view gcc/testsuite/gcc.dg/cpp/trad/escaped-nl.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900 (2017-10-27)
parents
children
line wrap: on
line source
/* Test escaped newlines at start of macro definition are properly
   skipped (buglet in skip_whitespace () in cpptrad.c).  */

/* { dg-do preprocess } */

#define NUM \
100
#if NUM != 100
# error NUM not defined properly /* { dg-bogus "error" } */
#endif