1// Test zero-size allocations -- shouldn't cause division by zero, that kind
2// of thing.
3
4#include <stdlib.h>
5
6int main(void)
7{
8   free(malloc(0));
9   free(malloc(0));
10   free(malloc(0));
11   free(malloc(0));
12   free(malloc(0));
13   free(malloc(0));
14   free(malloc(0));
15   free(malloc(0));
16   free(malloc(0));
17   free(malloc(0));
18   return 0;
19}
20