summaryrefslogtreecommitdiffstats
path: root/tests/run-make/hir-tree/Makefile
blob: b0450ea4bc5fddae4b62bf1c2281eb427a156193 (plain)
1
2
3
4
5
6
7
8
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