]> git.lizzy.rs Git - rust.git/blob - tests/codegen/force-no-unwind-tables.rs
Auto merge of #106520 - ehuss:update-mdbook, r=Mark-Simulacrum
[rust.git] / tests / 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 }