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-mod-1.c
blob08bb9e4837a523cf5cc305f536832e666b21759d
1 /*
2 mod-1.c from the execute part of the gcc torture tests.
3 */
5 #include <testfwk.h>
7 #ifdef __SDCC
8 #pragma std_c89
9 #endif
11 int f (int x, int y)
13 if (x % y != 0)
14 ASSERT(0);
17 void
18 testTortureExecute (void)
20 f (-5, 5);
21 return;