diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/run-make-fulldeps/issue-28595/b.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/run-make-fulldeps/issue-28595/b.rs b/src/test/run-make-fulldeps/issue-28595/b.rs new file mode 100644 index 000000000..1f389859f --- /dev/null +++ b/src/test/run-make-fulldeps/issue-28595/b.rs @@ -0,0 +1,12 @@ +extern crate a; + +#[link(name = "b", kind = "static")] +extern "C" { + pub fn b(); +} + +fn main() { + unsafe { + b(); + } +} |