]> git.lizzy.rs Git - rust.git/blob - tests/codegen/force-no-unwind-tables.rs
Rollup merge of #107756 - RalfJung:miri-out-of-addresses, r=oli-obk
[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 }