1 #include "Bug_4082_RegressionC.h"
2 #include "tao/AnyTypeCode/TypeCode.h"
3 #include "tao/AnyTypeCode/Any.h"
5 int ACE_TMAIN (int, ACE_TCHAR
*[])
14 CORBA::TypeCode_var tc
= a
.type ();
15 if (!tc
->equivalent (CORBA::_tc_LongSeq
) || tc
->equal (CORBA::_tc_LongSeq
))
17 ACE_DEBUG ((LM_ERROR
, ACE_TEXT ("ERROR: Test precondition not met\n")));
21 const CORBA::LongSeq
*cls
= 0;
24 ACE_DEBUG ((LM_ERROR
, ACE_TEXT ("ERROR: Failed to extract\n")));
28 if (!cls
|| cls
->length () != 2 || (*cls
)[0] != 0 || (*cls
)[1] != 1)
30 ACE_DEBUG ((LM_ERROR
, ACE_TEXT ("ERROR: Extract invalid data\n")));