]> git.cameronkatri.com Git - mandoc.git/blob - test-recallocarray.c
Do not allocate a column for decimal points if all numbers are integers.
[mandoc.git] / test-recallocarray.c
1 #include <stdlib.h>
2
3 int
4 main(void)
5 {
6 void *p;
7
8 if ((p = calloc(2, 2)) == NULL)
9 return 1;
10 return !recallocarray(p, 2, 3, 2);
11 }