Files
doslang-mirror/fec/tests/m7/badproj.fe
T

12 lines
142 B
Plaintext

// ERROR:9:mem.replace
unit badproj;
struct Node {
next: ?^Node,
}
fn bad(p: ^Node) -> void {
let q = p.next;
mem.destroy(p);
}