Closed
Description
class CMap/& {
let buf: [u8]/&;
new(buf: [u8]/&) {
self.buf = buf;
}
}
fn main() { }
rustc: /home/banderson/Dev/rust2/src/llvm/lib/VMCore/Instructions.cpp:1056: void llvm::StoreInst::AssertOK(): Assertion `getOperand(0)->getType() == cast<PointerType>(getOperand(1)->getType())->getElementType() && "Ptr must be a pointer to Val type!"' failed.