summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.dg/wtr-suffix-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/wtr-suffix-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/wtr-suffix-1.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/testsuite/gcc.dg/wtr-suffix-1.c b/gcc/testsuite/gcc.dg/wtr-suffix-1.c
index 3a163782c6c..056dbb7c7ec 100644
--- a/gcc/testsuite/gcc.dg/wtr-suffix-1.c
+++ b/gcc/testsuite/gcc.dg/wtr-suffix-1.c
@@ -12,14 +12,14 @@ testfunc (void)
i = 1L;
i = 1l;
- i = 1U; /* { dg-warning "traditional C rejects the `U' suffix" "numeric constant suffix" } */
- i = 1u; /* { dg-warning "traditional C rejects the `u' suffix" "numeric constant suffix" } */
+ i = 1U; /* { dg-warning "traditional C rejects the 'u' suffix" "numeric constant suffix" } */
+ i = 1u; /* { dg-warning "traditional C rejects the 'u' suffix" "numeric constant suffix" } */
f = 1.0;
- f = 1.0F; /* { dg-warning "traditional C rejects the `F' suffix" "numeric constant suffix" } */
- f = 1.0f; /* { dg-warning "traditional C rejects the `f' suffix" "numeric constant suffix" } */
- f = 1.0L; /* { dg-warning "traditional C rejects the `L' suffix" "numeric constant suffix" } */
- f = 1.0l; /* { dg-warning "traditional C rejects the `l' suffix" "numeric constant suffix" } */
-
+ f = 1.0F; /* { dg-warning "traditional C rejects the 'f' suffix" "numeric constant suffix" } */
+ f = 1.0f; /* { dg-warning "traditional C rejects the 'f' suffix" "numeric constant suffix" } */
+ f = 1.0L; /* { dg-warning "traditional C rejects the 'l' suffix" "numeric constant suffix" } */
+ f = 1.0l; /* { dg-warning "traditional C rejects the 'l' suffix" "numeric constant suffix" } */
+
#line 24 "sys-header.h" 3
/* We are in system headers now, no -Wtraditional warnings should issue. */
OpenPOWER on IntegriCloud