1 2 3 4 5 6 7 8 9 10 11 12 13
struct s { int a: 10; char : 6; _Bool b : 1; int : 0; short c: 7; }; int f(void) { struct s x = { -1, 1, 2 }; return x.a + x.b + x.c; }