rust/src/test/run-make/hir-tree/Makefile

10 lines
267 B
Makefile
Raw Normal View History

-include ../tools.mk
# Test that hir-tree output doens't crash and includes
# the string constant we would expect to see.
all:
$(RUSTC) -o $(TMPDIR)/input.hir -Z unstable-options \
--unpretty=hir-tree input.rs
grep '"Hello, Rustaceans!\\n"' $(TMPDIR)/input.hir