summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/initlist-array13.C
blob: 92fe97164cd33660408615a8de46c6c5ae1a02b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// PR c++/63707
// { dg-do compile { target c++11 } }

struct Child
{
  Child (int);
  ~Child ();
  Child (const Child &) = delete;
};

struct Parent
{
  Parent () : children {{5}, {7}} {}

  Child children[2];
};