Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git] / sdcc / support / regression / tests / patch-235.c
blob311fcd2a45dc51c8fa7354dbce40054f5c467eab
1 /*
2 patch-235.c - used shift instead of rotate instruction.
3 */
5 #include <testfwk.h>
7 unsigned long sss(unsigned long a)
9 return a >> 9;
12 void testBug(void)
14 ASSERT(sss(0x55555555) == 0x002aaaaa);