summaryrefslogtreecommitdiffstats
path: root/tests/run-make-fulldeps/issue-19371/Makefile
blob: edec68f0862329645d22ba57f2a04ec4af92a304 (plain)
1
2
3
4
5
6
7
8
9
include ../../run-make/tools.mk

# This test ensures that rustc compile_input can be called twice in one task
# without causing a panic.
# The program needs the path to rustc to get sysroot.

all:
	$(RUSTC) foo.rs
	$(call RUN,foo $(TMPDIR) $(RUSTC))