]> git.lizzy.rs Git - rust.git/blob - src/tools/miri/tests/fail/abort-terminator.rs
Auto merge of #100865 - compiler-errors:parent-substs-still, r=cjgillot
[rust.git] / src / tools / miri / tests / fail / abort-terminator.rs
1 #![feature(c_unwind)]
2
3 extern "C" fn panic_abort() {
4     //~^ ERROR: the program aborted
5     panic!()
6 }
7
8 fn main() {
9     panic_abort();
10 }