[clang] [clang] Reject initializing constexpr struct/union types with compound literals that contain non null pointers (PR #228776)

Abdulmalek Almkainzi via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 4 00:51:45 PDT 2026


================

----------------
aalmkainzi wrote:

I tried adding it to C/C23/n3018.c but no errors happen there because of `-fexperimental-new-constant-interpreter`, same with `Sema/constexpr.c`.

I moved the existing test to `Sema/`

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


More information about the cfe-commits mailing list