Commit e3087ff7 authored by hjk's avatar hjk Committed by hjk

debugger: add manual test for std::unique_ptr dumper

Change-Id: I700abc4ff629992aa7cc821b9a575685fd1e8005
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent e19601d8
...@@ -2706,9 +2706,21 @@ namespace stdptr { ...@@ -2706,9 +2706,21 @@ namespace stdptr {
#endif #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() void testStdPtr()
{ {
testStdUniquePtr(); testStdUniquePtr();
testStdSharedPtr();
} }
} // namespace stdptr } // namespace stdptr
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment