Skip to content

LLVM assert with "let c <- fail;" #949

Closed
@jruderman

Description

@jruderman
fn id(x: uint) -> uint { x }

fn main() {
    let c <- fail;
    id(c);
}

Assertion failed: (getOperand(0)->getType() == cast(getOperand(1)->getType())->getElementType() && "Ptr must be a pointer to Val type!"), function AssertOK, file Instructions.cpp, line 1065.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions