summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/ieee/20011123-1.c
blob: e497251fe5c812abce3a3236b69e17dee230a1cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
main()
{
  double db1 = 1.7976931348623157e+308;
  long double ldb1 = db1;

  if (sizeof (double) != 8 || sizeof (long double) != 16)
    exit (0);

  if (ldb1 != 1.7976931348623157e+308)
    abort ();
  exit (0);
}