Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git] / sdcc / support / regression / tests / bug-408972.c
blob29cc2543890504150ac0fdbf1b7f33af0ddbdca1
1 /* Fake header.
2 */
3 #include <testfwk.h>
5 long leftShiftLong (long l) {
6 return (l << 3);
9 int leftShiftIntMasked (int v) {
10 return ((v & 0xff00U) << 3);
13 int leftShiftIntMasked2 (int v) {
14 return ((v & 0xff) << 8);
17 int leftShiftIntMasked3 (int v) {
18 return ((v & 0xff) << 3);
21 void testBug(void)