]> git.lizzy.rs Git - rust.git/blob - src/test/codegen/force-no-unwind-tables.rs
Merge commit 'd3a2366ee877075c59b38bd8ced55f224fc7ef51' into sync_cg_clif-2022-07-26
[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 }