struct / union in initializer, RFE #901.
[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)