Debian Codegraph @

gcc/testsuite/g++.dg/cpp1z/aggr-base7.C

raw
1 // PR c++/88690
2 // { dg-do compile { target c++11 } }
3
4 struct A { int a = 1; };
5 struct B { int b = 0; };
6 struct C { C() = default; C (const C&) = delete; };
7 struct D : public B, public C {};
8 struct E : A { D f; } g{};