Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/initlist-new1.C

raw
1 // { dg-do compile { target c++11 } }
2
3 struct A
4 {
5 A() = default;
6 A(const A&) = default;
7 };
8
9 void f()
10 {
11 new A{A()};
12 }