summaryrefslogtreecommitdiff
path: root/ACE/tests/DLL_Test_Parent.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-06-24 11:37:54 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-06-24 11:37:54 +0200
commit3cbad3a99b3645e99cedd39bd5129f7187e9d589 (patch)
treea8e07d47f17a0c0da05659f69a90ed06211a1fb8 /ACE/tests/DLL_Test_Parent.cpp
parent89c2153b1ec4a1cf07a2a2c3b6c4f38b49fa2683 (diff)
downloadATCD-3cbad3a99b3645e99cedd39bd5129f7187e9d589.tar.gz
Extend DLL test with throwing and catching exceptions through DLL boundaries
* ACE/tests/DLL_Test_Impl.cpp: * ACE/tests/DLL_Test_Parent.cpp: * ACE/tests/DLL_Test_Parent.h:
Diffstat (limited to 'ACE/tests/DLL_Test_Parent.cpp')
-rw-r--r--ACE/tests/DLL_Test_Parent.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/ACE/tests/DLL_Test_Parent.cpp b/ACE/tests/DLL_Test_Parent.cpp
index 052fe612263..8fd63ec4ac6 100644
--- a/ACE/tests/DLL_Test_Parent.cpp
+++ b/ACE/tests/DLL_Test_Parent.cpp
@@ -15,3 +15,17 @@ Data::~Data ()
{
}
+Base::Base ()
+{
+}
+
+Derived::Derived ()
+{
+}
+
+void
+Derived::_raise () const
+{
+ throw *this;
+}
+