[clang] [clang][CodeGen] Emit file-scope compound literals in a constant context (PR #221390)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 16 22:39:51 PDT 2026


================
@@ -0,0 +1,85 @@
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -std=c++20 -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -std=c++20 -ffp-exception-behavior=strict -emit-llvm -o - %s | FileCheck %s
+
----------------
tbaederr wrote:

Does this test not work with `-fexperimental-new-constant-interpreter`?

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


More information about the cfe-commits mailing list