aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z/aggr-base7.C
blob: bc1793e79ca5ae7c3fdfc97c0b5e4d11bc9f2aac (plain)
1
2
3
4
5
6
7
8
// PR c++/88690
// { dg-do compile { target c++11 } }

struct A { int a = 1; };
struct B { int b = 0; };
struct C { C() = default; C (const C&) = delete; };
struct D : public B, public C {};
struct E : A { D f; } g{};