2022-08-22 19:00:00 -05:00
|
|
|
include ../tools.mk
|
2017-11-19 16:55:10 -06:00
|
|
|
|
2018-08-19 08:30:23 -05:00
|
|
|
# Test that hir-tree output doesn't crash and includes
|
2017-11-19 16:55:10 -06:00
|
|
|
# the string constant we would expect to see.
|
|
|
|
|
|
|
|
all:
|
2018-01-14 21:11:40 -06:00
|
|
|
$(RUSTC) -o $(TMPDIR)/input.hir -Z unpretty=hir-tree input.rs
|
2017-11-23 09:19:50 -06:00
|
|
|
$(CGREP) '"Hello, Rustaceans!\n"' < $(TMPDIR)/input.hir
|