summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_2595_Regression/Hello.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Bug_2595_Regression/Hello.cpp')
-rw-r--r--TAO/tests/Bug_2595_Regression/Hello.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/TAO/tests/Bug_2595_Regression/Hello.cpp b/TAO/tests/Bug_2595_Regression/Hello.cpp
new file mode 100644
index 00000000000..f95f30bdc85
--- /dev/null
+++ b/TAO/tests/Bug_2595_Regression/Hello.cpp
@@ -0,0 +1,28 @@
+//
+// $Id$
+//
+#include "Hello.h"
+
+ACE_RCSID(Hello, Hello, "$Id$")
+
+Hello::Hello (CORBA::ORB_ptr orb)
+ : orb_ (CORBA::ORB::_duplicate (orb))
+{
+}
+
+void
+Hello::op (
+ ::Test::Fls_out fstruct,
+ ::Test::Vls_out vstruct
+ )
+{
+ Test::Fls a = {5, 1.0};
+ fstruct = a;
+ vstruct = new Test::Vls;
+}
+
+void
+Hello::shutdown (void)
+{
+ this->orb_->shutdown (0);
+}