projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
indentation fixed
[libfirm]
/
ir
/
be
/
test
/
fehler45.c
1
#include <stdio.h>
2
3
struct bitfield {
4
unsigned int code : 8;
5
unsigned int bit1 : 1;
6
unsigned int bit2 : 1;
7
unsigned int bit3 : 1;
8
} bf = {7, 1, 0, 1 };
9
10
int main()
11
{
12
printf("Res: %d (should be 7)\n", bf.code);
13
return 0;
14
}