blob: e880486bfb52f963978284239d4e742e98a9db7d [file] [log] [blame]
// { dg-do compile { target c++11 } }
struct A
{
A() = default;
A(const A&) = default;
};
void f()
{
new A{A()};
}