]> git.proxmox.com Git - rustc.git/blame - src/test/run-make/allow-warnings-cmdline-stability/Makefile
New upstream version 1.25.0+dfsg1
[rustc.git] / src / test / run-make / allow-warnings-cmdline-stability / Makefile
CommitLineData
85aaf69f
SL
1-include ../tools.mk
2
3# Test that -A warnings makes the 'empty trait list for derive' warning go away
4DEP=$(shell $(RUSTC) bar.rs)
5OUT=$(shell $(RUSTC) foo.rs -A warnings 2>&1 | grep "warning" )
6
7all: foo bar
8 test -z '$(OUT)'
9
10# These are just to ensure that the above commands actually work
11bar:
12 $(RUSTC) bar.rs
13
14foo: bar
15 $(RUSTC) foo.rs -A warnings