1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 23:29:39 +00:00

Add comment explaining four_bits_with_int

This commit is contained in:
Jesse Rosenstock 2020-06-28 21:17:42 +02:00 committed by Oliver Schmidt
parent 8a331ee7ec
commit 2f456ce4e2

View File

@ -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;