* gcc.dg/const-elim-1.c: Remove xfail for xtensa-*-*.
[official-gcc.git] / gcc / testsuite / gcc.dg / 20030217-1.c
blobd0cd91316c408dfd97aaf59010f0662fea801391
1 /* Test whether denormal floating point constants in hexadecimal notation
2 are parsed correctly. */
3 /* { dg-do run { target i?86-*-linux* x86_64-*-* } } */
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);