summaryrefslogtreecommitdiff
path: root/trunk/TAO/tests/Bug_2289_Regression/MyInterfaceImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/TAO/tests/Bug_2289_Regression/MyInterfaceImpl.cpp')
-rw-r--r--trunk/TAO/tests/Bug_2289_Regression/MyInterfaceImpl.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/trunk/TAO/tests/Bug_2289_Regression/MyInterfaceImpl.cpp b/trunk/TAO/tests/Bug_2289_Regression/MyInterfaceImpl.cpp
new file mode 100644
index 00000000000..da5c2832189
--- /dev/null
+++ b/trunk/TAO/tests/Bug_2289_Regression/MyInterfaceImpl.cpp
@@ -0,0 +1,20 @@
+//
+// $Id$
+//
+
+#include "MyInterfaceImpl.h"
+
+const char*
+MyInterfaceImpl::my_string = "a string";
+
+MyInterfaceImpl::MyInterfaceImpl (CORBA::ORB_ptr orb)
+ : orb_ (CORBA::ORB::_duplicate (orb))
+{
+}
+CORBA::Boolean
+MyInterfaceImpl::myMethod (const char* mystring ACE_ENV_ARG_DECL)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return mystring == my_string;
+}
+