mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
16 lines
266 B
Rust
16 lines
266 B
Rust
#![allow(unused_assignments)]
|
|
#![allow(unused_variables)]
|
|
#![allow(non_fmt_panics)]
|
|
|
|
//@ run-fail
|
|
//@ error-pattern:wooooo
|
|
//@ ignore-emscripten no processes
|
|
|
|
fn main() {
|
|
let mut a = 1;
|
|
if 1 == 1 {
|
|
a = 2;
|
|
}
|
|
panic!(format!("woooo{}", "o"));
|
|
}
|