Sign in
android
/
toolchain
/
rustc
/
983137f038c4d4b95a0cd86b7c42d0313b50de67
/
.
/
src
/
tools
/
miri
/
tests
/
compile-fail
/
abort-terminator.rs
blob: 1bfa289a52b4e1bc13944c5161baaf8b13b6d5e8 [
file
] [
log
] [
blame
]
// error-pattern: the evaluated program aborted
#![
feature
(
unwind_attributes
)]
#[
unwind
(
aborts
)]
fn
panic_abort
()
{
panic
!()
}
fn
main
()
{
panic_abort
();
}