rust/src/test/run-make/output-filename-conflicts-with-directory/Makefile

8 lines
234 B
Makefile
Raw Normal View History

-include ../tools.mk
all:
cp foo.rs $(TMPDIR)/foo.rs
mkdir $(TMPDIR)/foo
$(RUSTC) $(TMPDIR)/foo.rs 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\""