projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
call optimize_cf() to delete dead-code that might arise after cond_eval
[libfirm]
/
ir
/
be
/
test
/
fehler104.c
1
#include "dumpmem.h"
2
3
struct Bla {
4
char a : 2;
5
short b : 15;
6
int c : 1;
7
};
8
9
struct Bla b = { 0, -1, 0 };
10
11
int main(void)
12
{
13
dumpMem(&b, sizeof(struct Bla));
14
printf("Sizeof %d\n", sizeof(struct Bla));
15
printf("Vals: %d %d %d\n", b.a, b.b, b.c);
16
return 0;
17
}