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

Compiler assertion failure when returning value from test #1935

Closed
tiehuis opened this Issue Feb 8, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@tiehuis
Copy link
Member

tiehuis commented Feb 8, 2019

test "example" {
    return 1;
}
zig: /home/me/src/zig/src/ir.cpp:299: void ir_ref_instruction(IrInstruction*, IrBasicBlock*): Assertion `instruction->id != IrInstructionIdInvalid' failed.

@tiehuis tiehuis added the bug label Feb 8, 2019

@andrewrk andrewrk added this to the 0.4.0 milestone Feb 8, 2019

@andrewrk andrewrk closed this in 46ddd5f Feb 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.