summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/regress/regress5.C
blob: b1935912d6ab2ec367a27466a9208a7d3c0ee04c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// { dg-options -std=c++0x }

struct A
{
  int i;
  A(int);
};

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

extern B b;
B b2(b);