• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* gcc -gctf -c test-bitfield.c -o test-bitfield.o */
2 struct foo
3 {
4   unsigned bar : 2;
5   unsigned baz : 1;
6 };
7 
8 struct foobar
9 {
10   unsigned char bar : 2;
11   unsigned char baz : 1;
12 };
13 
14 struct foo f;
15 struct foobar fb;
16