xref: /freebsd/contrib/bmake/unit-tests/opt-warnings-as-errors.mk (revision cd8537910406e68d4719136a5b0cf6d23bb1b23b)
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