summaryrefslogtreecommitdiffstats
path: root/tests/run-make/mixing-deps/both.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/mixing-deps/both.rs')
-rw-r--r--tests/run-make/mixing-deps/both.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/run-make/mixing-deps/both.rs b/tests/run-make/mixing-deps/both.rs
new file mode 100644
index 000000000..6a5818763
--- /dev/null
+++ b/tests/run-make/mixing-deps/both.rs
@@ -0,0 +1,4 @@
+#![crate_type = "rlib"]
+#![crate_type = "dylib"]
+
+pub static foo: isize = 4;