1 // commit: 26031da0f83a2a3ed52190077931ee6c18dfd689 2011-02-20
2 // malloc(0) should return unique pointers
3 // (often expected and gnulib replaces malloc if malloc(0) returns 0)
13 t_error("malloc(0) returned NULL\n");
14 if (p == q || p == r || q == r)
15 t_error("malloc(0) returned non-unique pointers: %p, %p, %p\n", p, q, r);