]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/gcc.dg/cpp/if-4.c
a39c11d412d0cf34cd8f7a9ec17062ec52bc39e7
[gcc.git] / gcc / testsuite / gcc.dg / cpp / if-4.c
1 /* Regression test for proper error message. The token name isn't
2 NUL terminated, so we would print garbage after it. */
3 /* { dg-do compile } */
4
5 #if 1 += 2 /* { dg-error "'\\+=' is not valid" "+= in if" } */
6 syntax_error
7 #endif
8 int foo;
This page took 0.037735 seconds and 4 git commands to generate.