mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-08-25 16:54:47 +03:00
merge from dev
This commit is contained in:
commit
2d52b967bc
9 changed files with 72 additions and 14 deletions
|
@ -123,7 +123,7 @@ int main() {
|
|||
});
|
||||
CHECK_BODY("posix_memalign_nomem", {
|
||||
void* p = &p;
|
||||
int err = mi_posix_memalign(&p, sizeof(void*), SIZE_MAX);
|
||||
volatile int err = mi_posix_memalign(&p, sizeof(void*), SIZE_MAX);
|
||||
result = (err==ENOMEM && p==&p);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue