Skip to content

Commit

Permalink
Rollup merge of rust-lang#56014 - euclio:issue-21335, r=nagisa
Browse files Browse the repository at this point in the history
add test for issue rust-lang#21335

Running this test with LLVM assertions enabled doesn't seem to trigger an assertion on my Mac.

Fixes rust-lang#21335.
  • Loading branch information
kennytm authored Nov 30, 2018
2 parents b8198da + 769d711 commit e40f37e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/run-make/llvm-outputs/Makefile
Original file line number Diff line number Diff line change
@@ -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 e40f37e

Please sign in to comment.