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

c_void edge case leads to unexpected exit #1115

Closed
pianofingers opened this Issue Jun 15, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@pianofingers

pianofingers commented Jun 15, 2018

pub fn main() void {
    const a : fn() c_void = undefined;
}

This should probably not be allowed?

@andrewrk andrewrk added this to the 0.3.0 milestone Jun 15, 2018

@andrewrk andrewrk added the bug label Jun 15, 2018

@andrewrk andrewrk closed this in 8fd7cc1 Jun 18, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment