summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/const-float80-ped.c
blob: d1cf316dcad5712038032b0f0feb5e9c8b149446 (plain)
1
2
3
4
5
/* Test 'w' suffix with -pedantic on __float80 type constants.  */
/* { dg-do compile { target i?86-*-* x86_64-*-* ia64-*-* } } */
/* { dg-options "-pedantic" } */

__float80 a = 123.456789w;  /* { dg-warning "non-standard suffix on floating constant" } */