xref: /freebsd/contrib/bmake/unit-tests/directive-export-literal.mk (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1# $NetBSD: directive-export-literal.mk,v 1.7 2020/12/13 01:07:54 rillig Exp $
2#
3# Tests for the .export-literal directive, which exports a variable value
4# without expanding it.
5
6UT_VAR=		value with ${UNEXPANDED} expression
7
8.export-literal UT_VAR
9
10.export-literal			# oops: missing argument
11
12all:
13	@echo "$$UT_VAR"
14