Debian Codegraph @

gcc/testsuite/g++.dg/cpp1z/elide5.C

raw
1 // PR c++/98642
2 // { dg-do compile { target c++11 } }
3
4 struct base {
5 base(void) {}
6 base(base &&) = delete;
7 };
8
9 struct foo : public base { };
10
11 static foo c1 { };
12
13 #if __cpp_aggregate_bases
14 static foo c2 { {} };
15 #endif