summaryrefslogtreecommitdiffstats
path: root/tests/run-make/used/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/used/Makefile')
-rw-r--r--tests/run-make/used/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/run-make/used/Makefile b/tests/run-make/used/Makefile
new file mode 100644
index 000000000..e80eb9e40
--- /dev/null
+++ b/tests/run-make/used/Makefile
@@ -0,0 +1,7 @@
+include ../tools.mk
+
+# ignore-windows-msvc
+
+all:
+ $(RUSTC) -C opt-level=3 --emit=obj used.rs
+ nm $(TMPDIR)/used.o | $(CGREP) FOO