diff options
Diffstat (limited to 'src/test/run-make-fulldeps/link-path-order/main.rs')
-rw-r--r-- | src/test/run-make-fulldeps/link-path-order/main.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/run-make-fulldeps/link-path-order/main.rs b/src/test/run-make-fulldeps/link-path-order/main.rs deleted file mode 100644 index 8024e343d..000000000 --- a/src/test/run-make-fulldeps/link-path-order/main.rs +++ /dev/null @@ -1,16 +0,0 @@ -#![feature(rustc_private)] - -extern crate libc; - -#[link(name = "foo", kind = "static")] -extern "C" { - fn should_return_one() -> libc::c_int; -} - -fn main() { - let result = unsafe { should_return_one() }; - - if result != 1 { - std::process::exit(255); - } -} |