aboutsummaryrefslogtreecommitdiffstats
path: root/test/mem/memmove_nullnull.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/mem/memmove_nullnull.c')
-rw-r--r--test/mem/memmove_nullnull.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/mem/memmove_nullnull.c b/test/mem/memmove_nullnull.c
new file mode 100644
index 0000000..325b859
--- /dev/null
+++ b/test/mem/memmove_nullnull.c
@@ -0,0 +1,8 @@
+#include <mem.h>
+#include <stddef.h>
+
+static char const src[] = "Hello World";
+
+int main(void){
+ return !calt_memmove_null(NULL, src, sizeof src) ? 0 : 1;
+}