[libc++][test] Fix missing include in `bit_ceil.fail.cpp`
authorJoe Loser <joeloser@fastmail.com>
Mon, 9 Jan 2023 15:13:38 +0000 (08:13 -0700)
committerJoe Loser <joeloser@fastmail.com>
Mon, 9 Jan 2023 15:32:31 +0000 (08:32 -0700)
The test uses `size_t` but does not include a header defining it.  Include
`<cstddef>` which provides `size_t`.

Differential Revision: https://reviews.llvm.org/D141284

libcxx/test/std/numerics/bit/bit.pow.two/bit_ceil.fail.cpp

index 4c4c901..962291d 100644 (file)
 //          T is an unsigned integer type
 
 #include <bit>
+#include <cassert>
+#include <cstddef>
 #include <cstdint>
 #include <limits>
-#include <cassert>
 
 #include "test_macros.h"