[clang] [clang][constexpr] Evaluate parenthesized array new with the allocated bound (PR #228675)

Macro Terra via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 4 05:53:22 PDT 2026


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

changed test file

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


More information about the cfe-commits mailing list