Skip to content

Commit 57d184b

Browse files
authored
Rollup merge of rust-lang#56014 - euclio:issue-21335, r=nagisa
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.
2 parents a22dd48 + 769d711 commit 57d184b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
-include ../../run-make-fulldeps/tools.mk
2+
3+
all:
4+
echo 'fn main() {}' | $(BARE_RUSTC) - --out-dir=$(TMPDIR)/random_directory_that_does_not_exist_ir/ --emit=llvm-ir
5+
echo 'fn main() {}' | $(BARE_RUSTC) - --out-dir=$(TMPDIR)/random_directory_that_does_not_exist_bc/ --emit=llvm-bc

0 commit comments

Comments
 (0)