summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/testAutoPtr.cxx
diff options
context:
space:
mode:
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 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?