about summary refs log tree commit diff
path: root/tests/codegen/tune-cpu-on-functions.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/tune-cpu-on-functions.rs')
-rw-r--r--tests/codegen/tune-cpu-on-functions.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/tune-cpu-on-functions.rs b/tests/codegen/tune-cpu-on-functions.rs
index dc04c4819af..f50245b797f 100644
--- a/tests/codegen/tune-cpu-on-functions.rs
+++ b/tests/codegen/tune-cpu-on-functions.rs
@@ -9,7 +9,7 @@
 
 // CHECK-LABEL: define {{.*}} @exported() {{.*}} #0
 #[no_mangle]
-pub extern fn exported() {
+pub extern "C" fn exported() {
     not_exported();
 }