update test files and overriding

This commit is contained in:
daan 2019-07-22 01:36:16 -07:00
parent 7091670c22
commit e4caee5f55
9 changed files with 67 additions and 41 deletions

View file

@ -3,11 +3,10 @@
#include <assert.h>
#include <string.h>
//#include <mimalloc.h>
#include <mimalloc.h>
int main() {
//mi_stats_reset();
mi_version(); // ensure mimalloc library is linked
void* p1 = malloc(78);
void* p2 = malloc(24);
free(p1);
@ -26,6 +25,6 @@ int main() {
//free(p1);
//p2 = malloc(32);
//mi_free(p2);
mi_stats_print(NULL);
return 0;
}