2014-04-15 09:47:26 -05:00
|
|
|
-include ../tools.mk
|
|
|
|
|
|
|
|
all:
|
2014-07-05 14:37:43 -05:00
|
|
|
cp foo.rs $(TMPDIR)/.foo.rs
|
|
|
|
$(RUSTC) $(TMPDIR)/.foo.rs 2>&1 \
|
|
|
|
| grep "invalid character.*in crate name:"
|
|
|
|
cp foo.rs $(TMPDIR)/.foo.bar
|
|
|
|
$(RUSTC) $(TMPDIR)/.foo.bar 2>&1 \
|
|
|
|
| grep "invalid character.*in crate name:"
|
|
|
|
cp foo.rs $(TMPDIR)/+foo+bar
|
|
|
|
$(RUSTC) $(TMPDIR)/+foo+bar 2>&1 \
|
|
|
|
| grep "invalid character.*in crate name:"
|