rust/tests/ui/panics/doublepanic.rs

11 lines
152 B
Rust

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