summaryrefslogtreecommitdiffstats
path: root/tests/run-make-fulldeps/output-filename-conflicts-with-directory/Makefile
blob: 45221356cd97fe0b0cb23ff465098254b21d9e1e (plain)
1
2
3
4
5
6
7
include ../tools.mk

all:
	cp foo.rs $(TMPDIR)/foo.rs
	mkdir $(TMPDIR)/foo
	$(RUSTC) $(TMPDIR)/foo.rs -o $(TMPDIR)/foo 2>&1 \
		| $(CGREP) -e "the generated executable for the input file \".*foo\.rs\" conflicts with the existing directory \".*foo\""