summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/manual/debugger/simple/simple_test_app.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/manual/debugger/simple/simple_test_app.cpp b/tests/manual/debugger/simple/simple_test_app.cpp
index 89c6d00993..c893f48ba8 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