aboutsummaryrefslogtreecommitdiff
path: root/googletest/test/gtest_catch_exceptions_test_.cc
diff options
context:
space:
mode:
Diffstat (limited to 'googletest/test/gtest_catch_exceptions_test_.cc')
-rw-r--r--googletest/test/gtest_catch_exceptions_test_.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/test/gtest_catch_exceptions_test_.cc b/googletest/test/gtest_catch_exceptions_test_.cc
index d0fc82c9..b42637ec 100644
--- a/googletest/test/gtest_catch_exceptions_test_.cc
+++ b/googletest/test/gtest_catch_exceptions_test_.cc
@@ -138,7 +138,7 @@ TEST_F(CxxExceptionInConstructorTest, ThrowsExceptionInConstructor) {
}
// Exceptions in destructors are not supported in C++11.
-#if !defined(__GXX_EXPERIMENTAL_CXX0X__) && __cplusplus < 201103L
+#if !defined(__GXX_EXPERIMENTAL_CXX0X__) && __cplusplus < 201103L && _MSC_VER < 1900
class CxxExceptionInDestructorTest : public Test {
public:
static void TearDownTestCase() {