]> git.lizzy.rs Git - rust.git/blob - tests/codegen/panic-abort-windows.rs
Rollup merge of #107769 - compiler-errors:pointer-like, r=eholk
[rust.git] / tests / codegen / panic-abort-windows.rs
1 // This test is for *-windows only.
2 // only-windows
3
4 // compile-flags: -C no-prepopulate-passes -C panic=abort -O
5
6 #![crate_type = "lib"]
7
8 // CHECK: Function Attrs: nounwind uwtable
9 // CHECK-NEXT: define void @normal_uwtable()
10 #[no_mangle]
11 pub fn normal_uwtable() {
12 }
13
14 // CHECK: Function Attrs: nounwind uwtable
15 // CHECK-NEXT: define void @extern_uwtable()
16 #[no_mangle]
17 pub extern fn extern_uwtable() {
18 }