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

10 lines
267 B
Rust
Raw Normal View History

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