]> git.lizzy.rs Git - rust.git/blob - src/test/codegen/force-no-unwind-tables.rs
Merge commit '39683d8eb7a32a74bea96ecbf1e87675d3338506' into sync_cg_gcc-2022-03-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 }