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

#include <testfwk.h>

#ifdef __SDCC
#pragma std_c99
#pragma disable_warning 93
#endif

#include <float.h>

extern void abort (void);
double d = FLT_MIN / 2.0;

void
testTortureExecute (void)
{
  double x = FLT_MIN / 2.0;
  if (x != d)
    ASSERT (0);
  return;
}