summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/unc1.c
blob: 18c306fc89ed43ecbeda2d2c283a708adb11f4d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Tests for un-terminated conditionals: 1.  */
/* { dg-do preprocess } */

#if 1  /* { dg-error "unterminated" "unterminated #if" } */

#ifdef notdef /* { dg-bogus "unterminated" "nested terminated #ifdef" } */

blah blah blah

#endif

more text

/* oops! */