forth2012-test-suite
forth2012-test-suite copied to clipboard
RESIZE to zero
I would like to suggest a test for RESIZE where the size argument is zero.
This is a corner case, but I think it's not disallowed by the standard.
E.g. one can reasonably assume that
100 allocate throw 0 resize throw free throw
doesn't run out of memory or hits other problems, except perhaps that an
implementor didn't consider the zero case.