Skip to content

Commit

Permalink
add test for issue #21335
Browse files Browse the repository at this point in the history
Fixes #21335.
  • Loading branch information
euclio committed Nov 26, 2018
1 parent 6f244c9 commit 769d711
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 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

0 comments on commit 769d711

Please sign in to comment.