rust/src/test/run-pass/issue-1974.rs
2012-08-01 19:16:06 -07:00

8 lines
136 B
Rust

// Issue 1974
// Don't double free the condition allocation
fn main() {
let s = ~"hej";
while s != ~"" {
return;
}
}