[libcxx-commits] [libcxx] [ASan][libc++] Correct (explicit) annotation size (PR #79292)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jan 25 07:02:03 PST 2024
================
@@ -44,6 +45,14 @@ TEST_CONSTEXPR_CXX20 void test_string() {
test(S("12345678901234567890"), "", 0, S("12345678901234567890"));
test(S("12345678901234567890"), "12345", 5, S("1234567890123456789012345"));
test(S("12345678901234567890"), "12345678901234567890", 20, S("1234567890123456789012345678901234567890"));
+
+ // Starting from long string (no SSO)
+ test(S("1234567890123456789012345678901234567890"), "", 0, S("1234567890123456789012345678901234567890"));
----------------
ldionne wrote:
Do these tests fail without the changes in `<string>`?
https://github.com/llvm/llvm-project/pull/79292
More information about the libcxx-commits
mailing list