There was an error while loading. Please reload this page.
1 parent f7c4ab5 commit 3cd099dCopy full SHA for 3cd099d
1 file changed
libcxx/test/std/numerics/bit/bitops.shift/shl.pass.cpp
@@ -23,8 +23,8 @@
23
24
template <class T>
25
constexpr bool test() {
26
- using U = std::make_unsigned_t<T>;
27
- constexpr int width = std::numeric_limits<U>::digits;
+ using U = std::make_unsigned_t<T>;
+ constexpr int width = std::numeric_limits<U>::digits;
28
constexpr U highbit_u = U(1) << (width - 1);
29
30
if constexpr (std::is_signed_v<T>) {
0 commit comments