Rollup merge of #56014 - euclio:issue-21335, r=nagisa
add test for issue #21335 Running this test with LLVM assertions enabled doesn't seem to trigger an assertion on my Mac. Fixes #21335.
This commit is contained in:
commit
e40f37e39d
1 changed files with 5 additions and 0 deletions
5
src/test/run-make/llvm-outputs/Makefile
Normal file
5
src/test/run-make/llvm-outputs/Makefile
Normal file
|
@ -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
|
Loading…
Reference in a new issue