summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/if-5.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/if-5.c')
-rw-r--r--gcc/testsuite/gcc.dg/cpp/if-5.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/if-5.c b/gcc/testsuite/gcc.dg/cpp/if-5.c
index 2eac73b6132..8238a12ae4b 100644
--- a/gcc/testsuite/gcc.dg/cpp/if-5.c
+++ b/gcc/testsuite/gcc.dg/cpp/if-5.c
@@ -2,11 +2,8 @@
Jakub Jelinek <jakub@redhat.com>. */
/* { dg-do preprocess } */
-#ifdef 0 /* { dg-error "with invalid argument" } */
-#error not seen
+#ifdef 0 /* { dg-error "macro names" } */
#endif
-#ifndef 0 /* { dg-error "with invalid argument" } */
-#else
-#error not seen
+#ifndef 0 /* { dg-error "macro names" } */
#endif