================ @@ -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}} ---------------- Endilll wrote:
I think I want this static to be duplicated and put under `#if __cplusplus`, because we're not actually interested in "static_assert has failed" diagnostic. https://github.com/llvm/llvm-project/pull/146815 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits