| 9 | |
| 10 | static bool test_realloc_fail; |
| 11 | static void *test_realloc(struct membuf *mb, void *buf, size_t n) |
| 12 | { |
| 13 | if (test_realloc_fail) |
| 14 | return NULL; |
| 15 | return realloc(buf, n); |
| 16 | } |
| 17 | |
| 18 | int main(void) |
| 19 | { |
nothing calls this directly
no outgoing calls
no test coverage detected