diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp')
| -rw-r--r-- | gcc/testsuite/gcc.dg/cpp/unc1.c | 1 | ||||
| -rw-r--r-- | gcc/testsuite/gcc.dg/cpp/unc2.c | 1 | ||||
| -rw-r--r-- | gcc/testsuite/gcc.dg/cpp/unc3.c | 1 | ||||
| -rw-r--r-- | gcc/testsuite/gcc.dg/cpp/unc4.c | 2 |
4 files changed, 4 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/unc1.c b/gcc/testsuite/gcc.dg/cpp/unc1.c index 5059ae66760..18c306fc89e 100644 --- a/gcc/testsuite/gcc.dg/cpp/unc1.c +++ b/gcc/testsuite/gcc.dg/cpp/unc1.c @@ -1,4 +1,5 @@ /* Tests for un-terminated conditionals: 1. */ +/* { dg-do preprocess } */ #if 1 /* { dg-error "unterminated" "unterminated #if" } */ diff --git a/gcc/testsuite/gcc.dg/cpp/unc2.c b/gcc/testsuite/gcc.dg/cpp/unc2.c index d9e39591570..976d2b181ab 100644 --- a/gcc/testsuite/gcc.dg/cpp/unc2.c +++ b/gcc/testsuite/gcc.dg/cpp/unc2.c @@ -1,4 +1,5 @@ /* Tests for unterminated conditionals: 2. */ +/* { dg-do preprocess } */ #ifdef __sparc__ /* { dg-error "unterminated" "unterminated if-elif-elif..." } */ sparc diff --git a/gcc/testsuite/gcc.dg/cpp/unc3.c b/gcc/testsuite/gcc.dg/cpp/unc3.c index 9a16bb31155..d5f16f738ac 100644 --- a/gcc/testsuite/gcc.dg/cpp/unc3.c +++ b/gcc/testsuite/gcc.dg/cpp/unc3.c @@ -1,4 +1,5 @@ /* Tests for unterminated conditionals: 3. */ +/* { dg-do preprocess } */ #if 1 /* { dg-error "#else" "unterminated #else" } */ #else diff --git a/gcc/testsuite/gcc.dg/cpp/unc4.c b/gcc/testsuite/gcc.dg/cpp/unc4.c index c4862815c7d..84ea6e45740 100644 --- a/gcc/testsuite/gcc.dg/cpp/unc4.c +++ b/gcc/testsuite/gcc.dg/cpp/unc4.c @@ -37,4 +37,4 @@ ignored /* dg.exp doesn't read the included files for tags, so we have to do them explicitly here. */ -/* { dg-error "#if" "unc1.c: unterminated #if" { target *-*-* } 3 } */ +/* { dg-error "#if" "unc1.c: unterminated #if" { target *-*-* } 4 } */ |

