diff options
Diffstat (limited to 'deps/jemalloc/test/unit/a0.c')
-rw-r--r-- | deps/jemalloc/test/unit/a0.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/deps/jemalloc/test/unit/a0.c b/deps/jemalloc/test/unit/a0.c new file mode 100644 index 0000000..a27ab3f --- /dev/null +++ b/deps/jemalloc/test/unit/a0.c @@ -0,0 +1,16 @@ +#include "test/jemalloc_test.h" + +TEST_BEGIN(test_a0) { + void *p; + + p = a0malloc(1); + assert_ptr_not_null(p, "Unexpected a0malloc() error"); + a0dalloc(p); +} +TEST_END + +int +main(void) { + return test_no_malloc_init( + test_a0); +} |