From 8a4bfbb1c60a72a70b93f520bab0be6aabb3f132 Mon Sep 17 00:00:00 2001 From: William Throwe Date: Thu, 1 Oct 2015 23:25:48 -0400 Subject: [PATCH] Add a test that rustc can compile standard input --- src/test/run-make/compile-stdin/Makefile | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/test/run-make/compile-stdin/Makefile diff --git a/src/test/run-make/compile-stdin/Makefile b/src/test/run-make/compile-stdin/Makefile new file mode 100644 index 00000000000..1442224cf9a --- /dev/null +++ b/src/test/run-make/compile-stdin/Makefile @@ -0,0 +1,5 @@ +-include ../tools.mk + +all: + echo 'fn main(){}' | $(RUSTC) - + $(call RUN,rust_out)