about summary refs log tree commit diff
path: root/tests/codegen/panic-abort-windows.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/panic-abort-windows.rs')
-rw-r--r--tests/codegen/panic-abort-windows.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/codegen/panic-abort-windows.rs b/tests/codegen/panic-abort-windows.rs
index 71caa1b3d2a..eb61e649f04 100644
--- a/tests/codegen/panic-abort-windows.rs
+++ b/tests/codegen/panic-abort-windows.rs
@@ -8,11 +8,9 @@
 // CHECK: Function Attrs: nounwind uwtable
 // CHECK-NEXT: define void @normal_uwtable()
 #[no_mangle]
-pub fn normal_uwtable() {
-}
+pub fn normal_uwtable() {}
 
 // CHECK: Function Attrs: nounwind uwtable
 // CHECK-NEXT: define void @extern_uwtable()
 #[no_mangle]
-pub extern fn extern_uwtable() {
-}
+pub extern "C" fn extern_uwtable() {}