Merged with mainline at revision 128810.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / 20030217-1.c
blobf19fd27fe753be542bd377476c1379888b1687d7
1 /* Test whether denormal floating point constants in hexadecimal notation
2 are parsed correctly. */
3 /* { dg-do run } */
4 /* { dg-options "-std=c99" } */
6 long double d = 0x0.0000003ffffffff00000p-16357L;
7 long double e = 0x0.0000003ffffffff00000p-16356L;
9 extern void abort (void);
10 extern void exit (int);
12 int
13 main (void)
15 if (d != e / 2.0)
16 abort ();
17 exit (0);