]> git.lizzy.rs Git - rust.git/blob - src/test/codegen/panic-abort-windows.rs
Auto merge of #60156 - RalfJung:macos-rand, r=oli-obk,alexcrichton
[rust.git] / src / test / codegen / panic-abort-windows.rs
1 // This test is for *-windows-msvc only.
2 // ignore-android
3 // ignore-bitrig
4 // ignore-cloudabi
5 // ignore-dragonfly
6 // ignore-emscripten
7 // ignore-freebsd
8 // ignore-haiku
9 // ignore-ios
10 // ignore-linux
11 // ignore-macos
12 // ignore-netbsd
13 // ignore-openbsd
14 // ignore-solaris
15
16 // compile-flags: -C no-prepopulate-passes -C panic=abort -O
17
18 #![crate_type = "lib"]
19
20 // CHECK: Function Attrs: nounwind uwtable
21 // CHECK-NEXT: define void @normal_uwtable()
22 #[no_mangle]
23 pub fn normal_uwtable() {
24 }
25
26 // CHECK: Function Attrs: nounwind uwtable
27 // CHECK-NEXT: define void @extern_uwtable()
28 #[no_mangle]
29 pub extern fn extern_uwtable() {
30 }