diff options
Diffstat (limited to 'trunk/TAO/tests/Bug_2595_Regression/Hello.cpp')
-rw-r--r-- | trunk/TAO/tests/Bug_2595_Regression/Hello.cpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/trunk/TAO/tests/Bug_2595_Regression/Hello.cpp b/trunk/TAO/tests/Bug_2595_Regression/Hello.cpp new file mode 100644 index 00000000000..b15677087ce --- /dev/null +++ b/trunk/TAO/tests/Bug_2595_Regression/Hello.cpp @@ -0,0 +1,33 @@ +// +// $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 + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ) + ACE_THROW_SPEC (( + ::CORBA::SystemException + )) +{ + Test::Fls a = {5, 1.0}; + fstruct = a; + vstruct = new Test::Vls; +} + +void +Hello::shutdown (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + this->orb_->shutdown (0 ACE_ENV_ARG_PARAMETER); +} |