about summary refs log tree commit diff
path: root/tests/run-make/simple-dylib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/simple-dylib/Makefile')
-rw-r--r--tests/run-make/simple-dylib/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run-make/simple-dylib/Makefile b/tests/run-make/simple-dylib/Makefile
new file mode 100644
index 00000000000..5dda5d66d1c
--- /dev/null
+++ b/tests/run-make/simple-dylib/Makefile
@@ -0,0 +1,5 @@
+include ../tools.mk
+all:
+	$(RUSTC) bar.rs --crate-type=dylib -C prefer-dynamic
+	$(RUSTC) foo.rs
+	$(call RUN,foo)