[libcxx-commits] [libcxx] [libc++] Add missing include <limits> to bitset to_ullong.pass.cpp test (PR #149149)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jul 16 10:48:54 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxx

Author: Jonathan Wakely (jwakely)

<details>
<summary>Changes</summary>

This was added to to_ulong.pass.cpp years ago by
cf1dc8d39e2c9870468ca86f7956a65c7745fece but I don't think the other part of that commit matters here.

---
Full diff: https://github.com/llvm/llvm-project/pull/149149.diff


1 Files Affected:

- (modified) libcxx/test/std/utilities/template.bitset/bitset.members/to_ullong.pass.cpp (+1) 


``````````diff
diff --git a/libcxx/test/std/utilities/template.bitset/bitset.members/to_ullong.pass.cpp b/libcxx/test/std/utilities/template.bitset/bitset.members/to_ullong.pass.cpp
index 5df6103d79e7a..3c5a57d1c7fec 100644
--- a/libcxx/test/std/utilities/template.bitset/bitset.members/to_ullong.pass.cpp
+++ b/libcxx/test/std/utilities/template.bitset/bitset.members/to_ullong.pass.cpp
@@ -11,6 +11,7 @@
 #include <bitset>
 #include <algorithm>
 #include <type_traits>
+#include <limits>
 #include <climits>
 #include <cassert>
 #include <stdexcept>

``````````

</details>


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


More information about the libcxx-commits mailing list