[libcxx-commits] [libcxx] [libc++][string] Assert resize_and_overwrite operation returns integer-like type (PR #162030)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Oct 6 02:52:09 PDT 2025
================
@@ -105,5 +117,9 @@ int main(int, char**) {
test<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>>>();
static_assert(test<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>>>());
#endif
+
+ test_value_categories();
+ test_integer_like_return_types();
----------------
philnik777 wrote:
These should also be run during constant evaluation.
https://github.com/llvm/llvm-project/pull/162030
More information about the libcxx-commits
mailing list