blob: 22d0906ccf7017607322c8df700bae3d45d97f3e (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
 | //@ run-fail
//@ error-pattern:so long
//@ needs-subprocess
#![allow(unreachable_code)]
fn main() {
    let mut x = Vec::new();
    let y = vec![3];
    panic!("so long");
    x.extend(y.into_iter());
}
 |