projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
replaced malloc by xmalloc
[libfirm]
/
ir
/
be
/
test
/
bf_init.c
1
//#include "dumpmem.h"
2
3
struct bf {
4
int a;
5
unsigned x:13;
6
unsigned y:17;
7
unsigned z:3;
8
char c;
9
double d;
10
unsigned w:9;
11
};
12
13
struct bf mybf = { 0xffffffff, 4097, 65537, 5, 0xff, 4.5, 257 };
14
15
int main(void) {
16
17
//dumpMem(&mybf, sizeof mybf);
18
printf("sizeof mybf %d\n", sizeof mybf);
19
20
return 0;
21
}