summaryrefslogtreecommitdiffstats
path: root/tests/run-make-fulldeps/ls-metadata
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make-fulldeps/ls-metadata')
-rw-r--r--tests/run-make-fulldeps/ls-metadata/Makefile7
-rw-r--r--tests/run-make-fulldeps/ls-metadata/foo.rs1
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/run-make-fulldeps/ls-metadata/Makefile b/tests/run-make-fulldeps/ls-metadata/Makefile
new file mode 100644
index 000000000..e0f916a24
--- /dev/null
+++ b/tests/run-make-fulldeps/ls-metadata/Makefile
@@ -0,0 +1,7 @@
+include ../tools.mk
+
+all:
+ $(RUSTC) foo.rs
+ $(RUSTC) -Z ls $(TMPDIR)/foo
+ touch $(TMPDIR)/bar
+ $(RUSTC) -Z ls $(TMPDIR)/bar
diff --git a/tests/run-make-fulldeps/ls-metadata/foo.rs b/tests/run-make-fulldeps/ls-metadata/foo.rs
new file mode 100644
index 000000000..f328e4d9d
--- /dev/null
+++ b/tests/run-make-fulldeps/ls-metadata/foo.rs
@@ -0,0 +1 @@
+fn main() {}