rust/tests/compile-fail/panic1.rs
2019-02-06 11:41:45 +01:00

6 lines
105 B
Rust

//error-pattern: the evaluated program panicked
fn main() {
std::panic!("panicking from libstd");
}