summaryrefslogtreecommitdiffstats
path: root/test-reallocarray.c
diff options
context:
space:
mode:
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 00000000..9a514e8e
--- /dev/null
+++ b/test-reallocarray.c
@@ -0,0 +1,7 @@
+#include <stdlib.h>
+
+int
+main(void)
+{
+ return( ! reallocarray(NULL, 2, 2));
+}