aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr52979-1.c
blob: c703073c2c37ae640c55a37b5e3151e0e083ee65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR middle-end/52979 */

struct S
{
  unsigned int a : 16, b : 16, c : 16, d : 16, e : 14;
  unsigned int f : 4, g : 14, h : 8;
  char i;
  int j;
};

void
foo (struct S *s)
{
  s->f = 1;
}