2020-04-15 21:02:16 -07:00
|
|
|
#include <malloc.h>
|
|
|
|
|
2022-01-21 20:47:21 +01:00
|
|
|
#include "test_util.h"
|
2020-06-17 16:39:50 -04:00
|
|
|
|
|
|
|
OPTNONE int main(void) {
|
2020-04-15 21:02:16 -07:00
|
|
|
char *p = malloc(16);
|
|
|
|
if (!p) {
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
char *q = p + 4096 * 4;
|
|
|
|
malloc_usable_size(q);
|
|
|
|
return 0;
|
|
|
|
}
|