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