projects
/
fw
/
sdcc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
ae4f2441c3320adfdc1b2f8ea28cfcde3b1aa1c7
[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