rust/tests/run-make/output-filename-conflicts-with-directory/Makefile
2023-03-30 07:34:55 -05: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\""