aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr87110.c
blob: c2eba54a5c7604665eabe4183916efe4c291ff1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-require-effective-target alloca }
enum a { b, c };
struct d {
  _Bool e;
  enum a f
};
g, h;
i() {
  struct d j[h];
  j[0] = (struct d){.f = c};
  for (; g;)
    (struct d){};
}