summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/trad/literals-2.c
blob: b471772f64821a75c544df6be1164239b483c53a (plain)
1
2
3
4
5
6
7
8
/* Test that unterminated quotes in CPP expressions are
   recognized.  */

/* { dg-do preprocess } */
/* { dg-warning "missing terminating" "bad charconst" { target *-*-* } 7 } */
/* { dg-error "not valid" "bad charconst" { target *-*-* } 7 } */
#if 'x
#endif