blob: b3147d9db50281254ede298b76f2fb3c71a6897e [file] [log] [blame]
// PR c++/105491
// { dg-do compile { target c++11 } }
struct V {
int m = 0;
};
struct S : V {
constexpr S(int) : b() { }
bool b;
};
struct W {
constexpr W() : s(0) { }
union {
S s;
};
};
constexpr W w;