diff --git a/testAutoPtr.cxx b/testAutoPtr.cxx
index c6515d906627c63364df12db86403c800bb2b483..5f5c79819b8104a8a49af1929e4387f3c9a1e762 100644
--- a/testAutoPtr.cxx
+++ b/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?