COMP: Disable function call with function return test for HP until it is implemented.
This commit is contained in:
parent
8774e0f81f
commit
55280c5524
|
@ -115,12 +115,14 @@ int testAutoPtr(int, char*[])
|
||||||
"auto_ptr did not release ownership to called function");
|
"auto_ptr did not release ownership to called function");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !defined(__HP_aCC)
|
||||||
{
|
{
|
||||||
int received = function_call(generate_auto_ptr_A());
|
int received = function_call(generate_auto_ptr_A());
|
||||||
ASSERT(received,
|
ASSERT(received,
|
||||||
"auto_ptr in called function did not take ownership "
|
"auto_ptr in called function did not take ownership "
|
||||||
"from factory function");
|
"from factory function");
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
// Is this allowed by the standard?
|
// Is this allowed by the standard?
|
||||||
|
|
Loading…
Reference in New Issue