Browse Source

COMP: Disable function call with function return test for HP until it is implemented.

Brad King 19 years ago
parent
commit
55280c5524
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Source/kwsys/testAutoPtr.cxx

+ 2 - 0
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?