summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/paste11.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/paste11.c')
-rw-r--r--gcc/testsuite/gcc.dg/cpp/paste11.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/paste11.c b/gcc/testsuite/gcc.dg/cpp/paste11.c
index 18530b3448a..e3860ebb745 100644
--- a/gcc/testsuite/gcc.dg/cpp/paste11.c
+++ b/gcc/testsuite/gcc.dg/cpp/paste11.c
@@ -9,7 +9,7 @@
glue (ident, 12) /* OK. */
glue (ident, 12e3) /* OK. */
-glue (ident, 12e+3) /* { dg-warning "valid preprocessing tok" } */
-glue (ident, 12e-3) /* { dg-warning "valid preprocessing tok" } */
-glue (ident, 1.2) /* { dg-warning "valid preprocessing tok" } */
-glue (ident, .12) /* { dg-warning "valid preprocessing tok" } */
+glue (ident, 12e+3) /* { dg-error "valid preprocessing tok" } */
+glue (ident, 12e-3) /* { dg-error "valid preprocessing tok" } */
+glue (ident, 1.2) /* { dg-error "valid preprocessing tok" } */
+glue (ident, .12) /* { dg-error "valid preprocessing tok" } */