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-930818-1.c
blob26ddd8ed1c606d583add3927f141b36f7a5a34dd
1 /*
2 930818-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 static double one = 1.0;
14 int f()
16 int colinear;
17 colinear = (one == 0.0);
18 if (colinear)
19 ASSERT (0);
20 return colinear;
22 void
23 testTortureExecute (void)
25 if (f()) ASSERT (0);
26 return;