Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / Bug_3575_Regression / test.cpp
blob0a4558404a3be842fb6898191a2200cee82d4ee5
1 #include "tao/StringSeqC.h"
3 int
4 ACE_TMAIN (int, ACE_TCHAR *[])
6 char const *str = "Some string";
8 CORBA::StringSeq seq;
9 seq.length (1);
10 seq[0] = str;
11 char const *beforeptr = seq[0].in ();
12 CORBA::String_var tmp = seq[0]._retn ();
13 // The pointer returned by in() and _retn() must be the same.
14 ACE_TEST_ASSERT (beforeptr == tmp.in ());
16 return 0;