crap-libs/memory/example.c
2017-03-10 23:17:53 +01:00

20 lines
226 B
C

#include "memory.h"
#include <stdio.h>
int main(void) {
const char* str = "Hallo Welt";
char* tmp = clone_string(str);
printf("%s\n", tmp);
free(tmp);
tmp = allocate((size_t) 1 << 63);
free(tmp);
return 0;
}