1 /* Test for hex floating point constants: in C99 only. Preprocessor test. */
2 /* Origin: Joseph Myers <jsm28@cam.ac.uk> */
4 /* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
11 /* C90: "0x1p+( 0x1p+)"; C99: "0x1p+f 0x1p+l" */
12 const char *s
= xstr(0x1p
+f
0x1p
+l
);
14 extern void abort (void);
15 extern int strcmp (const char *, const char *);
20 if (strcmp (s
, "0x1p+f 0x1p+l"))
23 return 0; /* Correct C99 behavior. */