view gcc/testsuite/gcc.dg/cpp/c99-hexfloat-3.c @ 158:494b0b89df80 default tip

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

/* Test for hex floating point constants: in C99 only.  Compiler test.  */
/* Origin: Michael Matz <matz@suse.de> */
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */

double d = 0x.2p2; /* { dg-bogus "radix 16" "bogus C99 hex float error" } */