summaryrefslogtreecommitdiff
path: root/usr.bin/make/unit-tests/parse-var.mk
blob: bd6c59f0e5cb8aff0e3a5c1e01b6ef35e1d952ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# $NetBSD: parse-var.mk,v 1.1 2020/10/04 06:53:15 rillig Exp $

.MAKEFLAGS: -dL

# In variable assignments, there may be spaces on the left-hand side of the
# assignment, but only if they occur inside variable expressions.
VAR.${:U param }=	value
.if ${VAR.${:U param }} != "value"
.  error
.endif

all:
	@:;