blob: a5d30960a4cdb84833265e57a38125553a60734e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// run-fail
// error-pattern:so long
// ignore-emscripten no processes
#![allow(unused_allocation)]
#![allow(unreachable_code)]
#![allow(unused_variables)]
fn main() {
let mut x = Vec::new();
let y = vec![3];
panic!("so long");
x.extend(y.into_iter());
}
|