projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added C wrapper to Daniel's coalescing JAVA framework
[libfirm]
/
ir
/
be
/
test
/
types.c
1
struct opcode {
2
struct {
3
unsigned imm16:16;
4
} foo;
5
};
6
7
8
int main(void) {
9
int i;
10
struct opcode oc = { { 42 } };
11
12
i = oc.foo.imm16 & 0x80f4;
13
printf("Result: %d (should be 32)\n", i);
14
return 0;
15
}