xref: /freebsd/contrib/bmake/unit-tests/parse-var.mk (revision ec0ea6efa1ad229d75c394c1a9b9cac33af2b1d3)
1# $NetBSD: parse-var.mk,v 1.1 2020/10/04 06:53:15 rillig Exp $
2
3.MAKEFLAGS: -dL
4
5# In variable assignments, there may be spaces on the left-hand side of the
6# assignment, but only if they occur inside variable expressions.
7VAR.${:U param }=	value
8.if ${VAR.${:U param }} != "value"
9.  error
10.endif
11
12all:
13	@:;
14