Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RESIZE to zero #29

Open
ellerh opened this issue Mar 30, 2021 · 0 comments
Open

RESIZE to zero #29

ellerh opened this issue Mar 30, 2021 · 0 comments

Comments

@ellerh
Copy link

ellerh commented Mar 30, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant