]>
Commit | Line | Data |
---|---|---|
3319c1b8 JM |
1 | /* Test for hex floating point constants: in C99 only. Compiler test. */ |
2 | /* Origin: Joseph Myers <jsm28@cam.ac.uk> */ | |
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" } */ |