Merge branch 'dev' into dev-exp

This commit is contained in:
daan 2019-07-14 20:35:01 -07:00
commit 08c873c250
5 changed files with 170 additions and 91 deletions

View file

@ -5,6 +5,8 @@
#include <mimalloc.h>
#include <new>
static void* p = malloc(8);
void free_p() {
@ -36,6 +38,8 @@ int main() {
free(s);
Test* t = new Test(42);
delete t;
t = new (std::nothrow) Test(42);
delete t;
int err = mi_posix_memalign(&p1,32,60);
if (!err) free(p1);
free(p);