Home | History | Annotate | Line # | Download | only in unit
      1 #include "test/jemalloc_test.h"
      2 
      3 TEST_BEGIN(test_a0) {
      4 	void *p;
      5 
      6 	p = a0malloc(1);
      7 	assert_ptr_not_null(p, "Unexpected a0malloc() error");
      8 	a0dalloc(p);
      9 }
     10 TEST_END
     11 
     12 int
     13 main(void) {
     14 	return test_no_malloc_init(
     15 	    test_a0);
     16 }
     17