]> git.lizzy.rs Git - rust.git/blob - tests/run-make-fulldeps/allow-non-lint-warnings-cmdline/Makefile
Preserve split DWARF files when building archives.
[rust.git] / tests / run-make-fulldeps / allow-non-lint-warnings-cmdline / Makefile
1 include ../tools.mk
2
3 # Test that -A warnings makes the 'empty trait list for derive' warning go away
4 OUT=$(shell $(RUSTC) foo.rs -A warnings 2>&1 | grep "warning" )
5
6 all: foo
7         test -z '$(OUT)'
8
9 # This is just to make sure the above command actually succeeds
10 foo:
11         $(RUSTC) foo.rs -A warnings