summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/trad/comment.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/trad/comment.c')
-rw-r--r--gcc/testsuite/gcc.dg/cpp/trad/comment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/trad/comment.c b/gcc/testsuite/gcc.dg/cpp/trad/comment.c
index ce9d7f18e1c..971a78a6d10 100644
--- a/gcc/testsuite/gcc.dg/cpp/trad/comment.c
+++ b/gcc/testsuite/gcc.dg/cpp/trad/comment.c
@@ -2,4 +2,4 @@
/* { dg-do preprocess } */
-/* { dg-warning "unterminated comment" }
+/* { dg-error "unterminated comment" }