aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/array37.C
blob: a909a18dd5dbe82fc0719c4e11125732247633db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
struct A
{
  int i;
  A(int);
};

struct B
{
  virtual void f();
  A ar[3];
};

extern B b;
B b2(b);