[clang] [clang] Fixed inconsistent diagnostics when initializing a constexpr variable with a compound literal (PR #232825)

Abdulmalek Almkainzi via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 19 23:26:18 PDT 2026


aalmkainzi wrote:

another test that fails for the same reason:
https://github.com/llvm/llvm-project/blob/4cafedea923a996e77b91375ffd66dc28a87bf80/clang/test/Sema/constexpr.c#L470-L472

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


More information about the cfe-commits mailing list