Disable a JSONTest.Integers test with newer MSVCs, PR46470

This commit is contained in:
Nico Weber 2020-06-26 19:57:52 -04:00
parent d298acde82
commit fb1aa286c1
1 changed files with 4 additions and 0 deletions

View File

@ -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.",