demonstartes a bug in the tarval module
[libfirm] / ir / be / test / bf_store.c
1 #include "dumpmem.h"
2
3 struct bf {
4   unsigned x:13;
5   unsigned y:17;
6   unsigned z:3;
7   unsigned w:9;
8 } mybf;
9
10
11 int main(void) {
12
13   mybf.x = 4097;
14   mybf.y = 65537;
15   mybf.z = 5;
16   mybf.w = 257;
17
18   dumpMem(&mybf, sizeof mybf);
19
20   return 0;
21 }