rust/tests/ui/panics/doublepanic.rs
2023-01-11 09:32:08 +00:00

11 lines
149 B
Rust

#![allow(unreachable_code)]
// run-fail
// error-pattern:One
// ignore-emscripten no processes
fn main() {
panic!("One");
panic!("Two");
}