projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
problematic 64bit test
[libfirm]
/
ir
/
be
/
test
/
bitfield.c
1
struct b {
2
int x:20;
3
int y:8;
4
int z:10;
5
};
6
7
struct b B = { 1, 2, 3 };
8
struct b C = { 1, 2, 3 };
9
10
main()
11
{
12
printf("sizeof(B) = %d\n", sizeof(B));
13
14
printf("x = %d\n", B.x);
15
printf("y = %d\n", B.y);
16
printf("z = %d\n", B.z);
17
18
B.y = C.z;
19
20
if (C.z)
21
return 3;
22
}