rust/tests/compile-fail/panic3.rs

6 lines
107 B
Rust
Raw Normal View History

2017-02-09 10:59:42 +01:00
//error-pattern: the evaluated program panicked
fn main() {
2019-02-06 11:39:16 +01:00
core::panic!("panicking from libcore");
2017-02-09 10:59:42 +01:00
}