summaryrefslogtreecommitdiffstats
path: root/test-strlcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-strlcpy.c')
-rw-r--r--test-strlcpy.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-strlcpy.c b/test-strlcpy.c
new file mode 100644
index 00000000..c7d182aa
--- /dev/null
+++ b/test-strlcpy.c
@@ -0,0 +1,8 @@
+#include <string.h>
+
+int
+main(int argc, char **argv)
+{
+ strlcpy(argv[0], argv[1], 10);
+ return 0;
+}