1/* { dg-require-effective-target untyped_assembly } */ 2extern void abort (void); 3 4struct type 5{ 6 int *a; 7 8 int b:16; 9 unsigned int p:9; 10} t; 11 12unsigned int 13foo () 14{ 15 return t.p; 16} 17 18int 19main (void) 20{ 21 t.p = 8; 22 if (foo (t) != 8) 23 abort (); 24 return 0; 25} 26