[libcxx-commits] [libcxx] [libcxx][test] Fix a few test conditions (PR #213512)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 3 01:59:20 PDT 2026


================
@@ -34,9 +34,10 @@ static_assert(
 static_assert(std::is_nothrow_invocable_v<std::hash<std::chrono::year_month_weekday>, std::chrono::year_month_weekday>);
 static_assert(
     std::is_nothrow_invocable_v<std::hash<std::chrono::year_month_weekday_last>, std::chrono::year_month_weekday_last>);
-#ifndef TEST_HAS_NO_EXPERIMENTAL_TZDB
+#if !defined(TEST_HAS_NO_LOCALIZATION) && !defined(TEST_HAS_NO_TIME_ZONE_DATABASE) &&                                  \
----------------
philnik777 wrote:

Shouldn't these be `||`?

https://github.com/llvm/llvm-project/pull/213512


More information about the libcxx-commits mailing list