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