diff options
author | Daan <daanl@outlook.com> | 2022-02-14 16:16:03 -0800 |
---|---|---|
committer | Daan <daanl@outlook.com> | 2022-02-14 16:16:03 -0800 |
commit | e91ee4c3849b2026d153a0331da868be67fa834c (patch) | |
tree | 06f353d331675ce64511258c13c3a8cbdfe5b46c /test/test-api.c | |
parent | 8ec83f6945133e299290354ca74f65e906c8b163 (diff) | |
parent | 8a1f8a305adb5708935a445ba2a5daf9961a4466 (diff) |
Merge branch 'dev' into dev-slice
Diffstat (limited to 'test/test-api.c')
-rw-r--r-- | test/test-api.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test-api.c b/test/test-api.c index 7ce6f11..0302464 100644 --- a/test/test-api.c +++ b/test/test-api.c @@ -72,6 +72,10 @@ int main(void) { CHECK_BODY("calloc0",{ result = (mi_usable_size(mi_calloc(0,1000)) <= 16); }); + CHECK_BODY("malloc-large",{ // see PR #544. + void* p = mi_malloc(67108872); + mi_free(p); + }); // --------------------------------------------------- // Extended |