Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
codegen
/
force-no-unwind-tables.rs
blob: e823bedac0f64e3f89a25d84cc21767c4321bc7f [
file
] [
log
] [
blame
] [
edit
]
//@ compile-flags: -C no-prepopulate-passes -C panic=abort -C force-unwind-tables=n
//@ ignore-windows
#![
crate_type
=
"lib"
]
// CHECK-LABEL: define{{.*}}void @foo
// CHECK-NOT: attributes #{{.*}} uwtable
#[
no_mangle
]
fn
foo
()
{
panic
!();
}