view gcc/testsuite/gcc.dg/const-float128-ped.c @ 157:dafe684d005c

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:08:54 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* Test 'q' suffix with -pedantic on __float128 type constants.  */
/* { dg-do compile } */
/* { dg-require-effective-target __float128 } */
/* { dg-options "-pedantic" } */
/* { dg-add-options __float128 } */

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