(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
initlist-new1.C
// { dg-do compile { target c++11 } }

struct A
{
  A() = default;
  A(const A&) = default;
};

void f()
{
  new A{A()};
}