[clang] [clang][constexpr] Allow IndirectGotoStmt in constexpr functions for C++23 (PR #213449)
Yanzuo Liu via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 4 07:56:57 PDT 2026
================
@@ -0,0 +1,12 @@
+// RUN: %clang_cc1 -fcxx-exceptions -verify=beforecxx14,beforecxx20,beforecxx23 -std=c++11 %s
+// RUN: %clang_cc1 -fcxx-exceptions -verify=beforecxx20,beforecxx23 -std=c++14 %s
+// RUN: %clang_cc1 -fcxx-exceptions -verify=beforecxx23 -std=c++20 %s
+// RUN: %clang_cc1 -fcxx-exceptions -std=c++23 %s
----------------
zwuis wrote:
Is `-fcxx-exceptions` necessary?
---
Missing `-fsyntax-only`.
https://github.com/llvm/llvm-project/pull/213449
More information about the cfe-commits
mailing list