summaryrefslogtreecommitdiff
path: root/test/malloc/realloc0.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/malloc/realloc0.c')
-rw-r--r--test/malloc/realloc0.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/malloc/realloc0.c b/test/malloc/realloc0.c
deleted file mode 100644
index 62ae39d25..000000000
--- a/test/malloc/realloc0.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <stdlib.h>
-#include <stdio.h>
-
-int main(int argc, char **argv)
-{
- void *ptr = NULL;
- ptr = realloc(ptr, 0);
- printf("realloc(NULL, 0) -- pointer = %p\n", ptr);
-
- ptr = malloc(0);
- printf("malloc(0) -- pointer = %p\n", ptr);
- return 0;
-}