summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_2201_Regression/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Bug_2201_Regression/test.cpp')
-rw-r--r--TAO/tests/Bug_2201_Regression/test.cpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/TAO/tests/Bug_2201_Regression/test.cpp b/TAO/tests/Bug_2201_Regression/test.cpp
deleted file mode 100644
index 1508d989950..00000000000
--- a/TAO/tests/Bug_2201_Regression/test.cpp
+++ /dev/null
@@ -1,32 +0,0 @@
-// $Id$
-
-#include "ace/Log_Msg.h"
-#include "TestDataC.h"
-
-int
-main (int argc, char *argv[])
-{
- int retval = 0;
-
- CORBA::ORB_var orb = CORBA::ORB_init (argc, argv);
-
- SeqTest::NodeSeq ns;
- ns.length (1);
- ns[0].ls.length (1);
- ns[0].ls[0] = 42;
-
- ns.length (0); // Shrink sequence
- ns.length (1); // Re-grow sequence; should re-initialize meber sequence
- // "as if" default constructed. I.e., the "ls" member
- // should have a length of zero.
-
- if (ns[0].ls.length() == 0) {
- ACE_DEBUG ((LM_DEBUG, "Test passed\n"));
- }
- else {
- ACE_ERROR ((LM_ERROR, "Test failed\n"));
- retval = 1;
- }
-
- return retval;
-}