From faff439eb5b68a59ace0b57a5ca826662a379f7e Mon Sep 17 00:00:00 2001
From: Brad King <brad.king@kitware.com>
Date: Sat, 3 Mar 2007 23:46:42 -0500
Subject: [PATCH] COMP: Disable function call with function return test for HP
 until it is implemented.

---
 testAutoPtr.cxx | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/testAutoPtr.cxx b/testAutoPtr.cxx
index c6515d9..5f5c798 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?
-- 
GitLab