rust/tests/ui/issues/issue-12920.rs
2023-01-11 09:32:08 +00:00

9 lines
134 B
Rust

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