[clang] [clang] Fixed Constant Evaluation don't Call Destructor (PR #140278)
via cfe-commits
cfe-commits at lists.llvm.org
Tue May 20 13:42:21 PDT 2025
================
@@ -416,3 +416,38 @@ static_assert(
// expected-note at -1 {{read of dereferenced one-past-the-end pointer is not allowed in a constant expression}}
);
}
+
+// taken from: https://github.com/llvm/llvm-project/issues/139818
+namespace GH139818{
----------------
Mr-Anyone wrote:
I have moved the test to `cxx2a-consteval.cpp` is that ok? Also, thanks for reviewing.
https://github.com/llvm/llvm-project/pull/140278
More information about the cfe-commits
mailing list