2017-11-19 17:55:10 -05:00
|
|
|
-include ../tools.mk
|
|
|
|
|
|
|
|
# Test that hir-tree output doens't crash and includes
|
|
|
|
# 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 23:19:50 +08:00
|
|
|
$(CGREP) '"Hello, Rustaceans!\n"' < $(TMPDIR)/input.hir
|