Merge pull request #9143

b1c9a80 Add <cstdint> to aligned test (Lee *!* Clagett)
This commit is contained in:
luigi1111 2024-02-24 10:06:57 -05:00
commit f2493d9139
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -29,6 +29,7 @@
#include "gtest/gtest.h" #include "gtest/gtest.h"
#include <cstdint>
#include "common/aligned.h" #include "common/aligned.h"
TEST(aligned, large_null) { ASSERT_TRUE(aligned_malloc((size_t)-1, 1) == NULL); } TEST(aligned, large_null) { ASSERT_TRUE(aligned_malloc((size_t)-1, 1) == NULL); }