projects
/
fw
/
sdcc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
a8887caa22f5e4212911bfaabda18c68b5cf6f32
[fw/sdcc]
/
support
/
regression
/
tests
/
bug-435214.c
1
/* bug-435214.c
2
*/
3
#include <testfwk.h>
4
5
static
6
unsigned long divide(long a)
7
{
8
return a/512ul;
9
}
10
11
static void
12
testDivide()
13
{
14
ASSERT(divide(1300) == 2);
15
ASSERT(divide(0x12345678) == 0x91A2B);
16
}
17