aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/defaulted49.C
blob: 357be419db77b9fdb5bd175857d48ca8789a5808 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// PR c++/60980
// { dg-do compile { target c++11 } }

struct x0
{
  x0 () = default;
};
struct x1
{
  x0 x2[2];
  void x3 ()
  {
    x1 ();
  }
};