1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/* bug1551947.c */ #include <testfwk.h> __xdata float z; __xdata float x = 1.0; void testBug (void) { #if !defined(__SDCC_pdk14) && !defined(__SDCC_pdk15) // Lack of memory z = x * x; ASSERT (z == 1.0); #endif }