summaryrefslogtreecommitdiffstats
path: root/tests/run-make/pretty-print-to-file/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/pretty-print-to-file/Makefile')
-rw-r--r--tests/run-make/pretty-print-to-file/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run-make/pretty-print-to-file/Makefile b/tests/run-make/pretty-print-to-file/Makefile
new file mode 100644
index 000000000..ca11b8c47
--- /dev/null
+++ b/tests/run-make/pretty-print-to-file/Makefile
@@ -0,0 +1,5 @@
+include ../tools.mk
+
+all:
+ $(RUSTC) -o $(TMPDIR)/input.out -Zunpretty=normal input.rs
+ diff -u $(TMPDIR)/input.out input.pp