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
Open

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

peterohanley opened this issue Sep 11, 2024 · 0 comments
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
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

No branches or pull requests

2 participants