| 1 |
/* Test for hex floating point constants: in C99 only. Compiler test. */ |
| 2 |
/* Origin: Joseph Myers <[email protected]> */ |
| 3 |
/* { dg-do compile } */ |
| 4 |
/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */ |
| 5 |
|
| 6 |
double d = 0x1.2p2; /* { dg-bogus "radix 16" "bogus C99 hex float error" } */ |