summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/trad/escaped-nl.c
blob: be8cc53fe65eee6c1d842e71bf735473eb5b1382 (plain)
1
2
3
4
5
6
7
8
9
10
/* 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