rust/tests/run-make/output-filename-conflicts-with-directory/Makefile

8 lines
250 B
Makefile
Raw Normal View History

include ../tools.mk
all:
cp foo.rs $(TMPDIR)/foo.rs
mkdir $(TMPDIR)/foo
$(RUSTC) $(TMPDIR)/foo.rs -o $(TMPDIR)/foo 2>&1 \
2018-01-05 04:15:52 -06:00
| $(CGREP) -e "the generated executable for the input file \".*foo\.rs\" conflicts with the existing directory \".*foo\""