https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86581
Ted Lyngmo <ted at lyncon dot se> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ted at lyncon dot se --- Comment #2 from Ted Lyngmo <ted at lyncon dot se> --- Does this bug cover this case? This compiles with g++ but clang++ gives "error: constexpr union constructor does not initialize any member". template <typename T> union test { constexpr test() noexcept {} T member; }; int main() { test<int> a; }