aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr49029.c
blob: 71199d445158d105003d18b48efa77598fa925bf (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR middle-end/49029 */
/* { dg-require-effective-target int32plus } */
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);
}