[clang] [clang][bytecode] Avoid crash in constexpr wcslen on invalid argument… (PR #177891)
Timm Baeder via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 26 02:39:57 PST 2026
================
@@ -0,0 +1,24 @@
+// RUN: %clang_cc1 -std=c++23 -fexperimental-new-constant-interpreter -verify=expected,both %s
+// RUN: %clang_cc1 -std=c++23 -verify=ref,both %s
+
+namespace WcslenInvalidArg {
----------------
tbaederr wrote:
Add this to `builtin-functions.cpp` instead.
https://github.com/llvm/llvm-project/pull/177891
More information about the cfe-commits
mailing list