xref: /freebsd/contrib/bmake/unit-tests/opt-warnings-as-errors.mk (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1# $NetBSD: opt-warnings-as-errors.mk,v 1.4 2020/11/09 20:50:56 rillig Exp $
2#
3# Tests for the -W command line option, which turns warnings into errors.
4
5.MAKEFLAGS: -W
6
7.warning message 1
8.warning message 2
9
10_!=	echo 'parsing continues' 1>&2
11
12all:
13	@:;
14