projects
/
fw
/
sdcc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* src/mcs51/gen.c (gen51Code): show final register usage after fillGaps in asm with...
[fw/sdcc]
/
support
/
regression
/
tests
/
longor.c
1
/** Test long OR.
2
Was a bug where 1 was turned into 0x10000 on PPC.
3
*/
4
#include <testfwk.h>
5
6
void
7
testLongOR(void)
8
{
9
volatile unsigned long l;
10
11
l = 0;
12
l |= 1L;
13
ASSERT(l == 1);
14
15
l = 0;
16
l |= 1;
17
ASSERT(l == 1);
18
}