summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/unittests/ADT/OptionSetTest.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/unittests/ADT/OptionSetTest.cpp b/llvm/unittests/ADT/OptionSetTest.cpp
index 2f22db47d17..21411fe09e0 100644
--- a/llvm/unittests/ADT/OptionSetTest.cpp
+++ b/llvm/unittests/ADT/OptionSetTest.cpp
@@ -84,6 +84,8 @@ TEST(OptionSet, intptr_t) {
#endif
}
+#ifndef _MSC_VER
+// FIXME: This fails on MSVC.
TEST(OptionSet, intptr_t_isConstructible) {
// First check that std::is_constructible counts explicit conversion
// operators.
@@ -109,3 +111,5 @@ TEST(OptionSet, intptr_t_isConstructible) {
EXPECT_TRUE(isConvertible);
}
}
+#endif
+
OpenPOWER on IntegriCloud