aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8/gcc/testsuite/g++.dg/init/array31.C
blob: 9bb66a5950f190e67bc1601e6ca87d642eb36183 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/54501
// { dg-options "" }

struct A
{
  int i[0];
  int j;
};

struct A a = { 1 };