[clang] [P3074] Partial implementation of support for trivial unions (PR #146815)
Barry Revzin via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 3 08:29:46 PDT 2025
================
@@ -922,7 +922,7 @@ namespace cwg667 { // cwg667: 8
struct B { ~B() = delete; };
union C { B b; };
- static_assert(!__is_trivially_destructible(C), "");
+ static_assert(!__is_trivially_destructible(C), ""); // cxx26-error {{failed}}
----------------
brevzin wrote:
Done.
https://github.com/llvm/llvm-project/pull/146815
More information about the cfe-commits
mailing list