aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr64856.c
blob: c21d95a780a0c29d3203f9f8cb50688178b208c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR c/64856 */
/* { dg-do compile } */
/* { dg-options "" } */

struct A {
  unsigned long b;
};

struct B {
  struct A c[5];
};

struct B d = { .c = { [0 ... 4] = (struct A){ .b = 2 } } };