OSDN Git Service

Revert "Disable a JSONTest.Integers test with all MSVCs, PR46470"
authorNico Weber <thakis@chromium.org>
Sat, 27 Jun 2020 02:30:24 +0000 (22:30 -0400)
committerNico Weber <thakis@chromium.org>
Sat, 27 Jun 2020 02:30:24 +0000 (22:30 -0400)
This reverts commit 63bcf89125fdfe8a41b0125454b006b49abb0184.
Turns out the more targeted disablement in the previous change
was good enough.

llvm/unittests/Support/JSONTest.cpp

index e150fff..73fc626 100644 (file)
@@ -326,7 +326,7 @@ TEST(JSONTest, Integers) {
 
       // PR46470,
       // https://developercommunity.visualstudio.com/content/problem/1093399/incorrect-result-when-printing-6917529027641081856.html
-#if !defined(_MSC_VER)
+#if !defined(_MSC_VER) || _MSC_VER < 1926
       {
           "Dynamically exact integer. Stored as double, convertible.",
           double{0x6000000000000000},