[clang] [clang][bytecode] Pass initializer along in `evaluateAsInitializer()` (PR #158056)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 11 05:24:07 PDT 2025


================
@@ -5,6 +5,7 @@
 // RUN: %clang_cc1 -std=c++20 %t/b.cppm -emit-reduced-module-interface -o %t/b.pcm -fprebuilt-module-path=%t
 // RUN: %clang_cc1 -std=c++20 %t/c.cppm -emit-reduced-module-interface -o %t/c.pcm -fprebuilt-module-path=%t
 // RUN: %clang_cc1 -std=c++20 %t/d.cpp -fprebuilt-module-path=%t -fsyntax-only -verify
+// RUN: %clang_cc1 -std=c++20 %t/d.cpp -fprebuilt-module-path=%t -fsyntax-only -verify -fexperimental-new-constant-interpreter
----------------
tbaederr wrote:

@ChuanqiXu9 Is it okay to add this line?

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


More information about the cfe-commits mailing list