summaryrefslogtreecommitdiff
path: root/tests/expectations/func_ptr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expectations/func_ptr.rs')
-rw-r--r--tests/expectations/func_ptr.rs8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/expectations/func_ptr.rs b/tests/expectations/func_ptr.rs
index 01e413a6..c62e532d 100644
--- a/tests/expectations/func_ptr.rs
+++ b/tests/expectations/func_ptr.rs
@@ -5,10 +5,8 @@
extern "C" {
+ #[link_name = "foo"]
pub static mut foo:
- ::std::option::Option<unsafe extern "C" fn(x:
- ::std::os::raw::c_int,
- y:
- ::std::os::raw::c_int)
- -> ::std::os::raw::c_int>;
+ *mut ::std::option::Option<unsafe extern "C" fn()
+ -> ::std::os::raw::c_int>;
}