modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/pr38422.c (about) 1 /* PR middle-end/38422 */ 2 3 extern void abort (void); 4 5 struct S 6 { 7 int s : (sizeof (int) * __CHAR_BIT__ - 2); 8 } s; 9 10 void 11 foo (void) 12 { 13 s.s *= 2; 14 } 15 16 int 17 main () 18 { 19 s.s = 24; 20 foo (); 21 if (s.s != 48) 22 abort (); 23 return 0; 24 }