summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/save-analysis-fail/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-make-fulldeps/save-analysis-fail/Makefile')
-rw-r--r--src/test/run-make-fulldeps/save-analysis-fail/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/run-make-fulldeps/save-analysis-fail/Makefile b/src/test/run-make-fulldeps/save-analysis-fail/Makefile
new file mode 100644
index 000000000..f29f907cf
--- /dev/null
+++ b/src/test/run-make-fulldeps/save-analysis-fail/Makefile
@@ -0,0 +1,6 @@
+-include ../tools.mk
+all: code
+krate2: krate2.rs
+ $(RUSTC) $<
+code: foo.rs krate2
+ $(RUSTC) foo.rs -Zsave-analysis || exit 0