rust/tests/run-make/hir-tree/Makefile
2023-03-30 07:34:55 -05:00

9 lines
248 B
Makefile

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