blob: ae4f2441c3320adfdc1b2f8ea28cfcde3b1aa1c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* bug-435214.c
*/
#include <testfwk.h>
unsigned long divide(long a)
{
return a/512ul;
}
void
testDivide(void)
{
ASSERT(divide(1300) == 2);
ASSERT(divide(0x12345678) == 0x91A2B);
}
|