projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d298acd
)
Disable a JSONTest.Integers test with newer MSVCs, PR46470
author
Nico Weber
<thakis@chromium.org>
Fri, 26 Jun 2020 23:57:52 +0000
(19:57 -0400)
committer
Nico Weber
<thakis@chromium.org>
Fri, 26 Jun 2020 23:57:52 +0000
(19:57 -0400)
llvm/unittests/Support/JSONTest.cpp
patch
|
blob
|
history
diff --git
a/llvm/unittests/Support/JSONTest.cpp
b/llvm/unittests/Support/JSONTest.cpp
index
0357e21
..
73fc626
100644
(file)
--- a/
llvm/unittests/Support/JSONTest.cpp
+++ b/
llvm/unittests/Support/JSONTest.cpp
@@
-324,6
+324,9
@@
TEST(JSONTest, Integers) {
double{-0x4000000000000000},
},
+ // PR46470,
+ // https://developercommunity.visualstudio.com/content/problem/1093399/incorrect-result-when-printing-6917529027641081856.html
+#if !defined(_MSC_VER) || _MSC_VER < 1926
{
"Dynamically exact integer. Stored as double, convertible.",
double{0x6000000000000000},
@@
-331,6
+334,7
@@
TEST(JSONTest, Integers) {
int64_t{0x6000000000000000},
double{0x6000000000000000},
},
+#endif
{
"Dynamically integer, >64 bits. Stored as double, not convertible.",