Merge pull request #9145

f5b8634 Add <cstdint> to aligned test (Lee *!* Clagett)
This commit is contained in:
luigi1111 2024-02-24 10:07:23 -05:00
commit b335433204
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); }