2017-11-19 16:55:10 -06:00
|
|
|
-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
|
2017-11-23 09:19:50 -06:00
|
|
|
$(CGREP) '"Hello, Rustaceans!\n"' < $(TMPDIR)/input.hir
|