[clang] [clang] Allow class with anonymous union member to be const-default-constructible even if a union member has a default member initializer (#95854) (PR #96301)

Jessica Clarke via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 12 07:19:05 PDT 2024


================
@@ -0,0 +1,21 @@
+// RUN: %clang_cc1 -std=c++23 -fsyntax-only -verify %s
+//
+// -expected-no-diagnostics
----------------
jrtc27 wrote:

?

https://github.com/llvm/llvm-project/pull/96301


More information about the cfe-commits mailing list