summaryrefslogtreecommitdiffstats
path: root/tests/run-make/unknown-mod-stdin/Makefile
blob: 313b0ba837e837e33c0328c5cc92c6a16e311c56 (plain)
1
2
3
4
5
6
7
8
# ignore-windows

include ../tools.mk

all:
	echo 'mod unknown;' | $(RUSTC) --crate-type rlib - >$(TMPDIR)/unknown-mod.stdout 2>$(TMPDIR)/unknown-mod.stderr || echo "failed successfully"
	$(RUSTC_TEST_OP) "$(TMPDIR)"/unknown-mod.stdout unknown-mod.stdout
	$(RUSTC_TEST_OP) "$(TMPDIR)"/unknown-mod.stderr unknown-mod.stderr