]> git.proxmox.com Git - rustc.git/blob - src/jemalloc/test/unit/a0.c
New upstream version 1.22.1+dfsg1
[rustc.git] / src / jemalloc / test / unit / a0.c
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 }