summaryrefslogtreecommitdiff
path: root/test-reallocarray.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-11-22 18:08:25 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-11-22 18:08:25 +0000
commit52c0e9552d2c7c67a39132a9eb3dc5a876a7429e (patch)
tree7ef9f92f249a503d1c005f88d483481725db364a /test-reallocarray.c
parent53f5f26c3e5c6d5c310f44f1882afbd9cdd0297b (diff)
Notes
Diffstat (limited to 'test-reallocarray.c')
-rw-r--r--test-reallocarray.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test-reallocarray.c b/test-reallocarray.c
new file mode 100644
index 000000000000..9a514e8eaf9f
--- /dev/null
+++ b/test-reallocarray.c
@@ -0,0 +1,7 @@
+#include <stdlib.h>
+
+int
+main(void)
+{
+ return( ! reallocarray(NULL, 2, 2));
+}