Skip to content

Instantly share code, notes, and snippets.

@catamorphism
Created June 27, 2011 17:47
Show Gist options
  • Select an option

  • Save catamorphism/1049357 to your computer and use it in GitHub Desktop.

Select an option

Save catamorphism/1049357 to your computer and use it in GitHub Desktop.
fn main() {
let int y = 42;
let int x;
x <- y;
}
/*
error message:
Assertion failed: (getOperand(0)->getType() == cast<PointerType>(getOperand(1)->getType())->getElementType() && "Ptr must be a pointer to Val type!"), function AssertOK, file Instructions.cpp, line 962.
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment