summaryrefslogtreecommitdiffstats
path: root/tests/run-make-fulldeps/invalid-staticlib/Makefile
blob: 3f0f74ce3cb02c61e196b83baaea6ea5ef8d49ee (plain)
1
2
3
4
5
include ../tools.mk

all:
	touch $(TMPDIR)/libfoo.a
	echo | $(RUSTC) - --crate-type=rlib -lstatic=foo 2>&1 | $(CGREP) "failed to add native library"