diff --git a/tests/manual/debugger/simple/simple_test_app.cpp b/tests/manual/debugger/simple/simple_test_app.cpp index 89c6d00993d62de20237c3c28b5a1c192428ad5b..c893f48ba82e4b7067ec112536f60c7312a6e134 100644 --- a/tests/manual/debugger/simple/simple_test_app.cpp +++ b/tests/manual/debugger/simple/simple_test_app.cpp @@ -2706,9 +2706,21 @@ namespace stdptr { #endif } + void testStdSharedPtr() + { + #ifdef USE_CXX11 + std::shared_ptr<int> p(new int(32)); + BREAK_HERE; + // Check p 32 std::shared_ptr<int, std::default_delete<int> >. + // Continue. + dummyStatement(&p); + #endif + } + void testStdPtr() { testStdUniquePtr(); + testStdSharedPtr(); } } // namespace stdptr