Skip to content
Snippets Groups Projects
Commit e3087ff7 authored by hjk's avatar hjk Committed by hjk
Browse files

debugger: add manual test for std::unique_ptr dumper


Change-Id: I700abc4ff629992aa7cc821b9a575685fd1e8005
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent e19601d8
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment