Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-920710-1.c
blobf8053521fd62e2e1d4005df6b2437d27be98fd03
1 /*
2 920710-1.c from the execute part of the gcc torture suite.
3 */
5 #include <testfwk.h>
7 #ifdef __SDCC
8 #pragma std_c99
9 #pragma disable_warning 93
10 #endif
12 void
13 testTortureExecute (void)
15 // Enable when sdcc supports double and unsigned long long.
16 #if 1
17 if ((double) 18446744073709551615ULL < 1.84467440737095e+19 ||
18 (double) 18446744073709551615ULL > 1.84467440737096e+19)
19 ASSERT(0);
21 if (16777217L != (float)16777217e0)
22 ASSERT(0);
24 return;
25 #endif