It has been a while since I last worked on Aesalon proper.
[aesalon.git] / tests / malloc_test.c
blobad5a6908dd5f2e4c8f2fba414eb08b6f65496c04
1 #include <stdio.h>
2 #include <stdlib.h>
4 int main(int argc, char *argv[]) {
5 int *data = malloc(sizeof(int));
6 printf("**** %s: Allocated 4-byte chunk at %p.\n", argv[0], data);
7 free(data);
8 return 0;