rust/tests/run-pass/panic/panic2.rs
2019-12-02 16:04:31 +01:00

5 lines
134 B
Rust

// ignore-windows: Unwind panicking does not currently work on Windows
fn main() {
std::panic!("{}-panicking from libstd", 42);
}