Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/compile/20200105-1.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
line wrap: on
line source
struct mouse_button_str { unsigned char left : 1; unsigned char right : 1; unsigned char middle : 1; }; int g(void) { signed char a = 0; struct mouse_button_str *newbutton1 = (struct mouse_button_str*)&a; newbutton1->left = 1; return a; }