summary refs log tree commit diff
path: root/src/test/run-pass/issue-1974.rs
blob: ba84ad967c50402ed331fc0d0f6bf5ce3f0863e8 (plain)
1
2
3
4
5
6
7
8
// Issue 1974
// Don't double free the condition allocation
fn main() {
    let s = "hej";
    while s != "" {
        ret;
    }
}