From 769d7115fed078c93f66d8db24de2046a6ab6334 Mon Sep 17 00:00:00 2001 From: Andy Russell Date: Wed, 14 Nov 2018 14:51:28 -0500 Subject: [PATCH] add test for issue #21335 Fixes #21335. --- src/test/run-make/llvm-outputs/Makefile | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/test/run-make/llvm-outputs/Makefile diff --git a/src/test/run-make/llvm-outputs/Makefile b/src/test/run-make/llvm-outputs/Makefile new file mode 100644 index 0000000000000..d7f67577b04ce --- /dev/null +++ b/src/test/run-make/llvm-outputs/Makefile @@ -0,0 +1,5 @@ +-include ../../run-make-fulldeps/tools.mk + +all: + echo 'fn main() {}' | $(BARE_RUSTC) - --out-dir=$(TMPDIR)/random_directory_that_does_not_exist_ir/ --emit=llvm-ir + echo 'fn main() {}' | $(BARE_RUSTC) - --out-dir=$(TMPDIR)/random_directory_that_does_not_exist_bc/ --emit=llvm-bc