rust/tests/ui/issues/issue-12920.rs
2024-02-16 20:02:50 +00:00

8 lines
137 B
Rust

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