diff --git a/test/sv_conversion_test.cpp b/test/sv_conversion_test.cpp index fb77e8d..5208d49 100644 --- a/test/sv_conversion_test.cpp +++ b/test/sv_conversion_test.cpp @@ -32,6 +32,17 @@ int main() BOOST_TEST_EQ( s1, s2 ); } +#endif + +#if !defined(BOOST_NO_CXX17_HDR_MEMORY_RESOURCE) + + { + std::pmr::string s1( "123" ); + std::pmr::string s2 = f( s1 ); + + BOOST_TEST_EQ( s1, s2 ); + } + #endif return boost::report_errors();