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

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Tue Aug 4 22:14:17 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:

Sorry for being unclear. We've moved to 0/1 macros in the headers, but never update the test suite, which is why we have this mismatch, and we should really fix that. Nothing for you to do, just me being reminded of something that should be cleaned up.

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


More information about the libcxx-commits mailing list