(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
constexpr-union7a.C
// PR c++/105491
// { dg-do compile { target c++11 } }

struct V {
  int m = 0;
};
struct S : V {
  constexpr S(int) : b() { }
  bool b;
};
union W {
  constexpr W() : s(0) { }
  S s;
};
constexpr W w;