rust/tests/ui/panics/doublepanic.rs
2024-02-16 20:02:50 +00:00

11 lines
152 B
Rust

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