2022-12-01 07:12:55 -06:00
|
|
|
// This test is for *-windows only.
|
2022-11-28 01:11:19 -06:00
|
|
|
// only-windows
|
2017-03-15 10:09:59 -05:00
|
|
|
|
|
|
|
// compile-flags: -C no-prepopulate-passes -C panic=abort -O
|
|
|
|
|
|
|
|
#![crate_type = "lib"]
|
|
|
|
|
2017-10-04 16:54:28 -05:00
|
|
|
// CHECK: Function Attrs: nounwind uwtable
|
2017-03-15 10:09:59 -05: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() {
|
|
|
|
}
|