a0.c 229 B

1234567891011121314151617
  1. #include "test/jemalloc_test.h"
  2. TEST_BEGIN(test_a0) {
  3. void *p;
  4. p = a0malloc(1);
  5. expect_ptr_not_null(p, "Unexpected a0malloc() error");
  6. a0dalloc(p);
  7. }
  8. TEST_END
  9. int
  10. main(void) {
  11. return test_no_malloc_init(
  12. test_a0);
  13. }