summaryrefslogtreecommitdiffstats
path: root/tests/run-make/link-dedup/Makefile
blob: eff18ab48ab4f216f2e08207b8fef693608ab898 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# ignore-msvc

include ../tools.mk

all:
	$(RUSTC) depa.rs
	$(RUSTC) depb.rs
	$(RUSTC) depc.rs
	$(RUSTC) empty.rs --cfg bar 2>&1 | $(CGREP) '"-ltesta" "-ltestb" "-ltesta"'
	$(RUSTC) empty.rs 2>&1 | $(CGREP) '"-ltesta"'
	$(RUSTC) empty.rs 2>&1 | $(CGREP) -v '"-ltestb"'
	$(RUSTC) empty.rs 2>&1 | $(CGREP) -v '"-ltesta" "-ltesta" "-ltesta"'