aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/array3.C
blob: e8940dbee21731956a32eb627a4bd6ec5a8dc284 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// PR c++/70709
// { dg-options "" }

struct A
{
  A (int);
};

struct B
{
  B () {} 
  A a[0];
};

struct C
{
  C () {} 
  B a[0];
};