rust/tests/run-make-fulldeps/output-filename-conflicts-with-directory/Makefile
2023-01-11 09:32:08 +00:00

8 lines
250 B
Makefile

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\""