Initial commit
This commit is contained in:
14
mimalloc/all/test_package/test_package.c
Normal file
14
mimalloc/all/test_package/test_package.c
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "mimalloc.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main() {
|
||||
void *data = mi_malloc(32);
|
||||
|
||||
printf("mimalloc version %d\n", mi_version());
|
||||
|
||||
mi_free(data);
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
Reference in New Issue
Block a user