summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/unittests/clang-rename/USRLocFindingTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/unittests/clang-rename/USRLocFindingTest.cpp')
-rw-r--r--clang-tools-extra/unittests/clang-rename/USRLocFindingTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang-tools-extra/unittests/clang-rename/USRLocFindingTest.cpp b/clang-tools-extra/unittests/clang-rename/USRLocFindingTest.cpp
index 81627eec836..8ba3d283ebd 100644
--- a/clang-tools-extra/unittests/clang-rename/USRLocFindingTest.cpp
+++ b/clang-tools-extra/unittests/clang-rename/USRLocFindingTest.cpp
@@ -40,7 +40,7 @@ static void testOffsetGroups(const char *Code,
EXPECT_EQ(Groups.size(), AllUSRs.size());
}
-
+#if !(defined(_MSC_VER) && _MSC_VER < 1800)
TEST(USRLocFinding, FindsVarUSR) {
const char VarTest[] = "\n\
namespace A {\n\
@@ -71,6 +71,7 @@ void fun1() {\n\
testOffsetGroups(VarTest, VarTestOffsets);
}
+#endif
}
}
OpenPOWER on IntegriCloud