aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/const-float128-ped.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.dg/const-float128-ped.c')
-rw-r--r--gcc-4.9/gcc/testsuite/gcc.dg/const-float128-ped.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.dg/const-float128-ped.c b/gcc-4.9/gcc/testsuite/gcc.dg/const-float128-ped.c
new file mode 100644
index 000000000..6a6b6223c
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/gcc.dg/const-float128-ped.c
@@ -0,0 +1,5 @@
+/* Test 'q' suffix with -pedantic on __float128 type constants. */
+/* { dg-do compile { target ia64-*-* i?86-*-* x86_64-*-* } } */
+/* { dg-options "-pedantic" } */
+
+__float128 a = 123.456789q; /* { dg-warning "non-standard suffix on floating constant" } */