summaryrefslogtreecommitdiff
path: root/support/regression/tests/gcc-torture-execute-20040208-1.c
blob: 4f76406589654055e7615c09100cc089791c02f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
   20040208-1.c from the execute part of the gcc torture suite.
 */

#include <testfwk.h>

#ifdef __SDCC
#pragma std_c99
#endif

void
testTortureExecute (void)
{
#if 0 // TODO: Enable when long double is supported!
  long double x;

  x = 0x1.0p-500L;
  x *= 0x1.0p-522L;
  if (x != 0x1.0p-1022L)
    ASSERT (0);
  return;
#endif
}