aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/make.tests8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/make.tests b/testsuite/make.tests
index 60bb78406..3c2aa5cf5 100755
--- a/testsuite/make.tests
+++ b/testsuite/make.tests
@@ -94,6 +94,14 @@ target:
94 @exit 42 94 @exit 42
95' 95'
96 96
97# An equal sign in a command on a target rule was detected as a
98# macro assignment.
99testing "make equal sign in inline command" \
100 "make -f -" "a = a\n" "" '
101a = a
102target:;@echo a = $(a)
103'
104
97# A macro created using ::= remembers it's of type immediate-expansion. 105# A macro created using ::= remembers it's of type immediate-expansion.
98# Immediate expansion also occurs when += is used to append to such a macro. 106# Immediate expansion also occurs when += is used to append to such a macro.
99testing "make appending to immediate-expansion macro" \ 107testing "make appending to immediate-expansion macro" \