blob: f831a112cc9a5927ef02d2130fcec3e706c6894e [file] [log] [blame]
// PR c++/72457
// { dg-do compile { target c++11 } }
struct A {
int i;
constexpr A(): i(0) {}
};
struct B: A { };
struct C
{
B b;
constexpr C() : b{} {}
};