1/* Test whether denormal floating point constants in hexadecimal notation
2   are parsed correctly.  */
3/* { dg-do run } */
4/* { dg-options "-std=c99" } */
5
6long double d = 0x0.0000003ffffffff00000p-16357L;
7long double e = 0x0.0000003ffffffff00000p-16356L;
8
9extern void abort (void);
10extern void exit (int);
11
12int
13main (void)
14{
15  if (d != e / 2.0)
16    abort ();
17  exit (0);
18}
19