]> git.lizzy.rs Git - rust.git/blob - src/test/codegen/panic-abort-windows.rs
Rollup merge of #69106 - RReverser:wasi-fs-copy, r=KodrAus
[rust.git] / src / test / codegen / panic-abort-windows.rs
1 // This test is for *-windows-msvc only.
2 // ignore-android
3 // ignore-cloudabi
4 // ignore-dragonfly
5 // ignore-emscripten
6 // ignore-freebsd
7 // ignore-haiku
8 // ignore-ios
9 // ignore-linux
10 // ignore-macos
11 // ignore-netbsd
12 // ignore-openbsd
13 // ignore-solaris
14 // ignore-sgx
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 }