summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.dg/cpp/if-oppr.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/if-oppr.c')
-rw-r--r--gcc/testsuite/gcc.dg/cpp/if-oppr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/if-oppr.c b/gcc/testsuite/gcc.dg/cpp/if-oppr.c
index 3f06cd67ba9..9c4910f6a20 100644
--- a/gcc/testsuite/gcc.dg/cpp/if-oppr.c
+++ b/gcc/testsuite/gcc.dg/cpp/if-oppr.c
@@ -20,7 +20,7 @@
#endif
/* , not higher than ?. This is not a syntax error if it is. */
-#if 1 ? 0, 1: 1 /* { dg-error "syntax" "? higher precedence than ," } */
+#if 1 ? 0, 1: 1 /* { dg-error "without" "? higher precedence than ," } */
#error
#endif
OpenPOWER on IntegriCloud