rust/tests/ui/issues/issue-12920.rs

9 lines
137 B
Rust

//@ run-fail
//@ error-pattern:explicit panic
//@ ignore-emscripten no processes
pub fn main() {
panic!();
println!("{}", 1);
}