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