[libcxx-commits] [libcxx] [libc++][z/OS] Fixup two linear_congruential_engine tests (PR #92261)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Thu May 16 09:16:44 PDT 2024


================
@@ -83,7 +83,10 @@ int main(int, char**)
     test<unsigned int>();
     test_ext<unsigned int>();
     test<unsigned long>();
+    // This isn't implemented on platforms without __int128
+#ifndef _LIBCPP_HAS_NO_INT128
----------------
mordante wrote:

This is wrong. The code should test for `TEST_HAS_NO_INT128`.

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


More information about the libcxx-commits mailing list