summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/const-float128-ped.c
blob: 6a6b6223ce261205ec27aee9b384f87eda2413e9 (plain)
1
2
3
4
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" } */