Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git] / sdcc / support / regression / tests / bug1551947.c
blobcf80edc97acaee51d80d066c4532dd3ebc61883c
1 /*
2 bug1551947.c
3 */
5 #include <testfwk.h>
7 __xdata float z;
8 __xdata float x = 1.0;
10 void
11 testBug (void)
13 #if !defined(__SDCC_pdk14) && !defined(__SDCC_pdk15) // Lack of memory
14 z = x * x;
15 ASSERT (z == 1.0);
16 #endif