1 2 3 4 5 6 7 8 9
//@ run-fail //@ error-pattern:panic 1 //@ needs-subprocess fn main() { let x = 2; let y = &x; panic!("panic 1"); }