summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.dg/cpp/undef1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/undef1.c')
-rw-r--r--gcc/testsuite/gcc.dg/cpp/undef1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/undef1.c b/gcc/testsuite/gcc.dg/cpp/undef1.c
index 024efcede65..995d679b0ec 100644
--- a/gcc/testsuite/gcc.dg/cpp/undef1.c
+++ b/gcc/testsuite/gcc.dg/cpp/undef1.c
@@ -9,6 +9,6 @@
#define foo(bar) bar
-foo( blah
+foo( blah /* { dg-error "unterminated invocation" } */
#undef foo /* { dg-error "may not be used inside" "foo(#undef foo)" } */
blah )
OpenPOWER on IntegriCloud