summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20040208-2.c
blob: d8a5afc946237e509f741f5b38f4696d08ff07a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
int main ()
{
  long double x, y;

  x = 0x1.fffffffffffff8p1022L;
  x *= 2;
  y = 0x1.fffffffffffff8p1023L;
  if (memcmp (&x, &y, sizeof (x)) != 0)
    abort ();
  exit (0);
}