summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/issue-18943/Makefile
blob: fc40d756d6f21650a7e641741638a4be60bfecb4 (plain)
1
2
3
4
5
6
7
include ../tools.mk

# Regression test for ICE #18943 when compiling as lib

all:
	$(RUSTC) foo.rs --crate-type lib
	$(call REMOVE_RLIBS,foo) && exit 0 || exit 1