summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/output-filename-conflicts-with-directory/Makefile
blob: 74e5dcfcf36c2656838a9909e29fb0b3392d4680 (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\""