1# $NetBSD: directive-warning.mk,v 1.7 2022/01/23 16:09:38 rillig Exp $
2#
3# Tests for the .warning directive.
4#
5# Until parse.c 1.502 from 2020-12-19, a missing argument to the directive
6# produced the wrong error message "Unknown directive".  Since parse.c 1.503
7# from 2020-12-19, the correct "Missing argument" is produced.
8
9.warn				# misspelled
10.warn message			# misspelled
11.warnin				# misspelled
12.warnin	message			# misspelled
13.warning			# "Missing argument"
14.warning message		# expect+0: message
15.warnings			# misspelled
16.warnings messages		# Accepted before 2020-12-13 01:07:54.
17
18all: .PHONY
19