summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr49029.c
blob: ebe81b31b2864ea4c6e5e1bb1465f940ff079370 (plain)
1
2
3
4
5
6
7
8
9
10
/* PR middle-end/49029 */
struct S { volatile unsigned f : 11; signed g : 30; } __attribute__((packed));
struct T { volatile struct S h; } __attribute__((packed)) a;
void foo (int);

void
bar ()
{
  foo (a.h.g);
}