rust/tests/compile-fail/panic3.rs

6 lines
107 B
Rust
Raw Normal View History

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