Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
22f5bdc42b06e0719eda6e3e23f28fe5493b2305
/
.
/
tests
/
codegen
/
force-no-unwind-tables.rs
blob: 0189ae7c0a68637dec9ad96e5f7377cfe09f65d8 [
file
] [
log
] [
blame
]
//@ 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
!();
}