2022-12-01 13:12:55 +00:00
|
|
|
// This test is for *-windows only.
|
2024-02-22 12:10:29 +00:00
|
|
|
//@ only-windows
|
2017-03-15 15:09:59 +00:00
|
|
|
|
2024-02-22 12:10:29 +00:00
|
|
|
//@ compile-flags: -C no-prepopulate-passes -C panic=abort -O
|
2017-03-15 15:09:59 +00:00
|
|
|
|
|
|
|
#![crate_type = "lib"]
|
|
|
|
|
2017-10-04 21:54:28 +00:00
|
|
|
// CHECK: Function Attrs: nounwind uwtable
|
2017-03-15 15:09:59 +00:00
|
|
|
// CHECK-NEXT: define void @normal_uwtable()
|
|
|
|
#[no_mangle]
|
|
|
|
pub fn normal_uwtable() {
|
|
|
|
}
|
|
|
|
|
|
|
|
// CHECK: Function Attrs: nounwind uwtable
|
|
|
|
// CHECK-NEXT: define void @extern_uwtable()
|
|
|
|
#[no_mangle]
|
|
|
|
pub extern fn extern_uwtable() {
|
|
|
|
}
|