summaryrefslogtreecommitdiff
path: root/tests/test_xpath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_xpath.cpp')
-rw-r--r--tests/test_xpath.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_xpath.cpp b/tests/test_xpath.cpp
index e410882..f5b4c66 100644
--- a/tests/test_xpath.cpp
+++ b/tests/test_xpath.cpp
@@ -639,9 +639,11 @@ TEST(xpath_allocate_string_out_of_memory)
#else
try
{
+ #ifndef __DMC__ // DigitalMars exception handling crashes instead of catching the exception...
xpath_query q(query.c_str());
CHECK_FORCE_FAIL("Expected out of memory exception");
+ #endif
}
catch (const std::bad_alloc&)
{