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
/
bug-408972.c
blob
29cc2543890504150ac0fdbf1b7f33af0ddbdca1
1
/* Fake header.
2
*/
3
#include <testfwk.h>
4
5
long
leftShiftLong
(
long
l
) {
6
return
(
l
<<
3
);
7
}
8
9
int
leftShiftIntMasked
(
int
v
) {
10
return
((
v
&
0xff00
U
) <<
3
);
11
}
12
13
int
leftShiftIntMasked2
(
int
v
) {
14
return
((
v
&
0xff
) <<
8
);
15
}
16
17
int
leftShiftIntMasked3
(
int
v
) {
18
return
((
v
&
0xff
) <<
3
);
19
}
20
21
void
testBug
(
void
)
22
{
23
}