xref: /freebsd/contrib/bmake/unit-tests/directive-export-literal.mk (revision 43a5ec4eb41567cc92586503212743d89686d78f)
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