summaryrefslogtreecommitdiffstats
path: root/src/test/run-make/const_fn_mir/Makefile
blob: 2aa0bc9d45dc9701ea3fe7379f14699c5ce5f52a (plain)
1
2
3
4
5
6
7
8
9
10
-include ../../run-make-fulldeps/tools.mk

all:
	$(RUSTC) main.rs --emit=mir -o "$(TMPDIR)"/dump.mir

ifdef RUSTC_BLESS_TEST
	cp "$(TMPDIR)"/dump.mir dump.mir
else
	$(DIFF) dump.mir "$(TMPDIR)"/dump.mir
endif