projects
/
fw
/
sdcc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* as/mcs51/asexpr.c (expr): disabled warning "not in .flat24 mode",
[fw/sdcc]
/
support
/
regression
/
tests
/
bug-435214.c
1
/* bug-435214.c
2
*/
3
#include <testfwk.h>
4
5
unsigned long divide(long a)
6
{
7
return a/512ul;
8
}
9
10
void
11
testDivide(void)
12
{
13
ASSERT(divide(1300) == 2);
14
ASSERT(divide(0x12345678) == 0x91A2B);
15
}
16