about summary refs log tree commit diff
path: root/src/test/ui/consts/const-extern-function.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/const-extern-function.rs')
-rw-r--r--src/test/ui/consts/const-extern-function.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/consts/const-extern-function.rs b/src/test/ui/consts/const-extern-function.rs
index cfcf99b867a..01f487a7d75 100644
--- a/src/test/ui/consts/const-extern-function.rs
+++ b/src/test/ui/consts/const-extern-function.rs
@@ -1,7 +1,7 @@
 // run-pass
 #![allow(non_upper_case_globals)]
 
-extern fn foopy() {}
+extern "C" fn foopy() {}
 
 static f: extern "C" fn() = foopy;
 static s: S = S { f: foopy };