summaryrefslogtreecommitdiff
path: root/absl/synchronization/lifetime_test.cc
diff options
context:
space:
mode:
authorGravatar Copybara-Service <copybara-worker@google.com>2022-11-03 08:55:18 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2022-11-03 08:55:18 -0700
commit34172a0e9722b6e16f27528721284cf55ee101ab (patch)
treeafb768d46388b12a3a45e4c08433ed5df0d9bde2 /absl/synchronization/lifetime_test.cc
parent8542ee6a7b1dedf6350c2629970c91a3241bf908 (diff)
parentd36d20c0511daaa17886c9a6982862840391d974 (diff)
Merge pull request #1307 from KindDragon:patch-1
PiperOrigin-RevId: 485885633 Change-Id: Idfaf6ce22a9421fe05ae38029c8a68b720ce50ba
Diffstat (limited to 'absl/synchronization/lifetime_test.cc')
-rw-r--r--absl/synchronization/lifetime_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/absl/synchronization/lifetime_test.cc b/absl/synchronization/lifetime_test.cc
index cc973a32..e6274232 100644
--- a/absl/synchronization/lifetime_test.cc
+++ b/absl/synchronization/lifetime_test.cc
@@ -123,10 +123,10 @@ class OnDestruction {
};
// These tests require that the compiler correctly supports C++11 constant
-// initialization... but MSVC has a known regression since v19.10:
+// initialization... but MSVC has a known regression since v19.10 till v19.25:
// https://developercommunity.visualstudio.com/content/problem/336946/class-with-constexpr-constructor-not-using-static.html
-// TODO(epastor): Limit the affected range once MSVC fixes this bug.
-#if defined(__clang__) || !(defined(_MSC_VER) && _MSC_VER > 1900)
+#if defined(__clang__) || \
+ !(defined(_MSC_VER) && _MSC_VER > 1900 && _MSC_VER < 1925)
// kConstInit
// Test early usage. (Declaration comes first; definitions must appear after
// the test runner.)