1 /* PR middle-end/49029 */
2 /* { dg-require-effective-target int32plus } */
3 struct S { volatile unsigned f : 11; signed g : 30; } __attribute__((packed));
4 struct T { volatile struct S h; } __attribute__((packed)) a;
5 void foo (int);
6 
7 void
bar()8 bar ()
9 {
10   foo (a.h.g);
11 }
12