rust/tests/run-pass/panic/panic1.rs

10 lines
312 B
Rust
Raw Normal View History

// rustc-env: RUST_BACKTRACE=1
// compile-flags: -Zmiri-disable-isolation
// normalize-stderr-test ".*/(rust|checkout)/library/" -> "RUSTLIB/"
// normalize-stderr-test "RUSTLIB/(.*):\d+:\d+ "-> "RUSTLIB/$1:LL:COL "
// normalize-stderr-test "::<.*>" -> ""
2019-11-29 06:18:54 -06:00
fn main() {
std::panic!("panicking from libstd");
}