xref: /freebsd/contrib/bmake/unit-tests/parse-var.mk (revision 6be3386466ab79a84b48429ae66244f21526d3df)
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