debugger: add manual test for std::unique_ptr dumper

Change-Id: I700abc4ff629992aa7cc821b9a575685fd1e8005
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-02-23 18:02:46 +01:00
committed by hjk
parent e19601d8a3
commit e3087ff7a9

View File

@@ -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