modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/20051012-1.c (about) 1 /* { dg-require-effective-target untyped_assembly } */ 2 extern void abort (void); 3 4 struct type 5 { 6 int *a; 7 8 int b:16; 9 unsigned int p:9; 10 } t; 11 12 unsigned int 13 foo () 14 { 15 return t.p; 16 } 17 18 int 19 main (void) 20 { 21 t.p = 8; 22 if (foo (t) != 8) 23 abort (); 24 return 0; 25 }