1 struct mouse_button_str { 2 unsigned char left : 1; 3 unsigned char right : 1; 4 unsigned char middle : 1; 5 }; g(void)6 int g(void) 7 { 8 unsigned char a = 0; 9 struct mouse_button_str *newbutton1 = (struct mouse_button_str*)&a; 10 newbutton1->left = 1; 11 return a; 12 } 13