blob: 0e18f097b01a8e328bb4124bc0d96d1e9a7c719a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/*
pr37125.c from the execute part of the gcc torture tests.
*/
#include <testfwk.h>
#ifdef __SDCC
#pragma std_c99
#endif
static inline unsigned int
mod_rhs(int rhs)
{
if (rhs == 0) return 1;
return rhs;
}
void func_44 (unsigned int p_45);
void func_44 (unsigned int p_45)
{
if (!((p_45 * -9) % mod_rhs (-9))) {
ASSERT (0);
}
}
void
testTortureExecute (void)
{
func_44 (2);
return;
}
|