Add comment explaining four_bits_with_int
This commit is contained in:
parent
8a331ee7ec
commit
2f456ce4e2
1 changed files with 5 additions and 0 deletions
|
@ -38,6 +38,11 @@ static void test_four_bits(void)
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Logic is somewhat diferent for bit-fields that end a struct vs
|
||||
having additional fields.
|
||||
*/
|
||||
|
||||
static struct four_bits_with_int {
|
||||
unsigned int x : 4;
|
||||
unsigned int y;
|
||||
|
|
Loading…
Add table
Reference in a new issue