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