aboutsummaryrefslogtreecommitdiff
path: root/have
diff options
context:
space:
mode:
Diffstat (limited to 'have')
-rw-r--r--have/reallocarray.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/have/reallocarray.c b/have/reallocarray.c
new file mode 100644
index 0000000..f99e685
--- /dev/null
+++ b/have/reallocarray.c
@@ -0,0 +1,7 @@
+#include <stdlib.h>
+
+int
+main(void)
+{
+ return !reallocarray(NULL, 2, 2);
+}