summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/testAutoPtr.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-03-03 19:51:36 (GMT)
committerBrad King <brad.king@kitware.com>2007-03-03 19:51:36 (GMT)
commited722cbe619ae6a57ad264a7462314813da44bb3 (patch)
tree6b1d9802580e799f9da67158d3e6371baf8f941b /Source/kwsys/testAutoPtr.cxx
parent3fcec9daa464cdb64161963b737ddbab4fdab77d (diff)
downloadCMake-ed722cbe619ae6a57ad264a7462314813da44bb3.zip
CMake-ed722cbe619ae6a57ad264a7462314813da44bb3.tar.gz
CMake-ed722cbe619ae6a57ad264a7462314813da44bb3.tar.bz2
COMP: Remove one conversion test until it is implemented.
Diffstat (limited to 'Source/kwsys/testAutoPtr.cxx')
-rw-r--r--Source/kwsys/testAutoPtr.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/kwsys/testAutoPtr.cxx b/Source/kwsys/testAutoPtr.cxx
index 5afa599..5234428 100644
--- a/Source/kwsys/testAutoPtr.cxx
+++ b/Source/kwsys/testAutoPtr.cxx
@@ -122,12 +122,14 @@ int testAutoPtr(int, char*[])
"from factory function");
}
+#if 0
{
int received = function_call(generate_auto_ptr_B());
ASSERT(received,
"auto_ptr in called function did not take ownership "
"from factory function with conversion");
}
+#endif
{
kwsys::auto_ptr<A> pa(generate_auto_ptr_A());