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-pr67929_1.c
blob9d1d8249ff4c725d1a719375f6b85bf318db0fa2
1 /*
2 pr67929_1.c from the execute part of the gcc torture tests.
3 */
5 #include <testfwk.h>
7 #if !defined(__SDCC_pdk14) && !defined(__SDCC_pdk15) // Lack of memory
8 int
9 foo (float a)
11 return a * 4.9f;
13 #endif
15 void
16 testTortureExecute (void)
18 #if !defined(__SDCC_pdk14) && !defined(__SDCC_pdk15) // Lack of memory
19 if (foo (10.0f) != 49)
20 ASSERT (0);
21 #endif