summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-03-04 04:46:42 (GMT)
committerBrad King <brad.king@kitware.com>2007-03-04 04:46:42 (GMT)
commit55280c55248b6e5e377ce654bb384eea2138b4ea (patch)
tree5f0525f3b1ad274fd298800a05ff9506d6777e79
parent8774e0f81f8b6e37e13c6b72620b6c8ebfdcf95d (diff)
downloadCMake-55280c55248b6e5e377ce654bb384eea2138b4ea.zip
CMake-55280c55248b6e5e377ce654bb384eea2138b4ea.tar.gz
CMake-55280c55248b6e5e377ce654bb384eea2138b4ea.tar.bz2
COMP: Disable function call with function return test for HP until it is implemented.
-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 aa44cb6..c0bcd34 100644
--- a/Source/kwsys/testAutoPtr.cxx
+++ b/Source/kwsys/testAutoPtr.cxx
@@ -115,12 +115,14 @@ int testAutoPtr(int, char*[])
"auto_ptr did not release ownership to called function");
}
+#if !defined(__HP_aCC)
{
int received = function_call(generate_auto_ptr_A());
ASSERT(received,
"auto_ptr in called function did not take ownership "
"from factory function");
}
+#endif
#if 0
// Is this allowed by the standard?