repo.or.cz
/
sdcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
struct / union in initializer, RFE #901.
[sdcc.git]
/
sdcc
/
support
/
regression
/
tests
/
patch-235.c
blob
311fcd2a45dc51c8fa7354dbce40054f5c467eab
1
/*
2
patch-235.c - used shift instead of rotate instruction.
3
*/
4
5
#include <testfwk.h>
6
7
unsigned long
sss
(
unsigned long
a
)
8
{
9
return
a
>>
9
;
10
}
11
12
void
testBug
(
void
)
13
{
14
ASSERT
(
sss
(
0x55555555
) ==
0x002aaaaa
);
15
}
16