summaryrefslogtreecommitdiffstats
path: root/tests/run-make-fulldeps/linkage-attr-on-static/bar.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make-fulldeps/linkage-attr-on-static/bar.rs')
-rw-r--r--tests/run-make-fulldeps/linkage-attr-on-static/bar.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/run-make-fulldeps/linkage-attr-on-static/bar.rs b/tests/run-make-fulldeps/linkage-attr-on-static/bar.rs
deleted file mode 100644
index 68607cbb6..000000000
--- a/tests/run-make-fulldeps/linkage-attr-on-static/bar.rs
+++ /dev/null
@@ -1,16 +0,0 @@
-#![feature(linkage)]
-
-#[no_mangle]
-#[linkage = "external"]
-static BAZ: i32 = 21;
-
-#[link(name = "foo", kind = "static")]
-extern "C" {
- fn what() -> i32;
-}
-
-fn main() {
- unsafe {
- assert_eq!(what(), BAZ);
- }
-}