[clang] [Clang][ExprConst] Accept prvalue for nothrow new (PR #226753)

Yanzuo Liu via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 26 22:26:14 PDT 2026


================
@@ -0,0 +1,18 @@
+// RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify %s
----------------
zwuis wrote:

```suggestion
// RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify %s
// RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify %s -fexperimental-new-constant-interpreter
```


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


More information about the cfe-commits mailing list