diff options
Diffstat (limited to 'HeapLAB/.src/demo_top_chunk.c')
-rw-r--r-- | HeapLAB/.src/demo_top_chunk.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/HeapLAB/.src/demo_top_chunk.c b/HeapLAB/.src/demo_top_chunk.c new file mode 100644 index 0000000..d8e9767 --- /dev/null +++ b/HeapLAB/.src/demo_top_chunk.c @@ -0,0 +1,14 @@ +#include <stdlib.h> + +int main(int argc, char* argv[]) { + + void* a = malloc(9); + + malloc(1); + malloc(0); + + malloc(24); + malloc(25); + + return 0; +} |