/* Use pmalloc to test; 'volatile' prevents the compiler
from optimizing the malloc call away. */
void *(*volatile pmalloc) (size_t) = malloc;]],
- [[void *p = pmalloc (nbytes);
+ [[void *p = pmalloc (0);
int result = !p;
free (p);
return result;]])
/* Use prealloc to test; 'volatile' prevents the compiler
from optimizing the realloc call away. */
void *(*volatile prealloc) (void *, size_t) = realloc;]],
- [[void *p = prealloc (n, n);
+ [[void *p = prealloc (0, 0);
int result = !p;
free (p);
return result;]])