diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/if-cexp.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/if-cexp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/if-cexp.c b/gcc/testsuite/gcc.dg/cpp/if-cexp.c index e2af3752154..1ebd11929fd 100644 --- a/gcc/testsuite/gcc.dg/cpp/if-cexp.c +++ b/gcc/testsuite/gcc.dg/cpp/if-cexp.c @@ -10,4 +10,5 @@ #error OK /* { dg-error "OK" "nested ? : with parens" } */ #endif - +#if 2: /* { dg-error "':' without" "immediate :" } */ +#endif |