xref: /freebsd/contrib/bmake/unit-tests/directive-export-literal.mk (revision cd8537910406e68d4719136a5b0cf6d23bb1b23b)
1# $NetBSD: directive-export-literal.mk,v 1.6 2020/11/03 17:17:31 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-litera			# oops: misspelled
11.export-literal			# oops: missing argument
12.export-literally		# oops: misspelled
13
14all:
15	@echo "$$UT_VAR"
16