summaryrefslogtreecommitdiff
path: root/src/tools/miri/tests/fail/panic/panic_abort3.rs
blob: a448aab3ea4580e689d0c24147cacd7da4c0ba45 (plain)
1
2
3
4
5
6
7
8
//@error-pattern: the program aborted execution
//@normalize-stderr-test: "\| +\^+" -> "| ^"
//@normalize-stderr-test: "libc::abort\(\);|core::intrinsics::abort\(\);" -> "ABORT();"
//@compile-flags: -C panic=abort

fn main() {
    core::panic!("panicking from libcore");
}