summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/931110-1.c
blob: 5b33b269a2d631ea21d76ecc1383c0a41ed1ddfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
typedef struct
{
  short f:3, g:3, h:10;
} small;

struct
{
  int i;
  small s[10];
} x;

main ()
{
  int i;
  for (i = 0; i < 10; i++)
    x.s[i].f = 0;
  exit (0);
}