rust/tests/run-make/issue-18943/Makefile
2023-03-30 07:34:55 -05:00

8 lines
162 B
Makefile

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