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

[CN] crash if a resource is required on a void pointer #568

Open
peterohanley opened this issue Sep 11, 2024 · 0 comments · May be fixed by #852
Open

[CN] crash if a resource is required on a void pointer #568

peterohanley opened this issue Sep 11, 2024 · 0 comments · May be fixed by #852
Labels
cn technical debt Something for internal cleanup ui/ux Issue with presentation or user experience

Comments

@peterohanley
Copy link

Not much to it. Should give an error with source location instead.

int f(void *e)
/*@
  requires take ei = Owned(e);
  @*/
{       }
cn verify  cn_crash_1.c
internal error: size_of_ctype applied to void
cn: internal error, uncaught exception:
    Failure("internal error: size_of_ctype applied to void")
@yav yav added cn ui/ux Issue with presentation or user experience technical debt Something for internal cleanup labels Sep 11, 2024
@cp526 cp526 linked a pull request Feb 7, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cn technical debt Something for internal cleanup ui/ux Issue with presentation or user experience
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants