]> git.lizzy.rs Git - rust.git/blob - src/test/codegen/force-no-unwind-tables.rs
Merge commit '1411a98352ba6bee8ba3b0131c9243e5db1e6a2e' into sync_cg_clif-2021-12-31
[rust.git] / src / test / codegen / force-no-unwind-tables.rs
1 // compile-flags: -C no-prepopulate-passes -C panic=abort -C force-unwind-tables=n
2 // ignore-windows
3
4 #![crate_type="lib"]
5
6 // CHECK-LABEL: define{{.*}}void @foo
7 // CHECK-NOT: attributes #{{.*}} uwtable
8 #[no_mangle]
9 fn foo() {
10     panic!();
11 }