blob: 92759440f00b8e5f643afd6256f5665aa49a31ec [file] [log] [blame]
// PR c++/70259
// { dg-options -O2 }
// { dg-do run }
struct Empty { };
struct A { A() : a(true) { } bool a; };
struct B : Empty { B() : Empty() { } };
struct C : A, B { C() : A(), B() { } };
int main() {
C c;
if ( c.a == false )
__builtin_abort();
}