summaryrefslogtreecommitdiff
path: root/tests/expectations/decl_ptr_to_array.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expectations/decl_ptr_to_array.rs')
-rw-r--r--tests/expectations/decl_ptr_to_array.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/expectations/decl_ptr_to_array.rs b/tests/expectations/decl_ptr_to_array.rs
index e7dabeee..b8abedb5 100644
--- a/tests/expectations/decl_ptr_to_array.rs
+++ b/tests/expectations/decl_ptr_to_array.rs
@@ -5,5 +5,6 @@
extern "C" {
- pub static mut foo: [::std::os::raw::c_int; 1usize];
+ #[link_name = "foo"]
+ pub static mut foo: *mut [::std::os::raw::c_int; 1usize];
}