4 cp foo.rs $(TMPDIR)/foo
5 $(RUSTC) $(TMPDIR)/foo 2>&1 \
6 | $(CGREP) -e "the input file \".*foo\" would be overwritten by the generated executable"
7 $(RUSTC) foo.rs 2>&1 && $(RUSTC) -Z ls $(TMPDIR)/foo 2>&1
8 cp foo.rs $(TMPDIR)/foo.rs
9 $(RUSTC) $(TMPDIR)/foo.rs -o $(TMPDIR)/foo.rs 2>&1 \
10 | $(CGREP) -e "the input file \".*foo.rs\" would be overwritten by the generated executable"