2 // { dg-do run { target c++11 } }
4 #include <initializer_list>
5 extern "C" void abort();
6 void * operator new[] (__SIZE_TYPE__, void *p) { return p; }
12 A(std::initializer_list<int>) { constructed = true; }
17 int space[1] = { 42 };
18 int *p = new (space) int[1]{};
19 if (p[0] != 0 || !constructed)