10 lines
129 B
Rust
10 lines
129 B
Rust
//@ run-fail
|
|
//@ error-pattern:panic 1
|
|
//@ needs-subprocess
|
|
|
|
fn main() {
|
|
let x = 2;
|
|
let y = &x;
|
|
panic!("panic 1");
|
|
}
|