gcc/testsuite/gcc.dg/const-float128-ped.c
raw| 1 | /* Test 'q' suffix with -pedantic on __float128 type constants. */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-require-effective-target __float128 } */ |
| 4 | /* { dg-options "-pedantic" } */ |
| 5 | /* { dg-add-options __float128 } */ |
| 6 | |
| 7 | __float128 a = 123.456789q; /* { dg-warning "non-standard suffix on floating constant" } */ |