diff options
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/make.tests | 8 |
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. | ||
99 | testing "make equal sign in inline command" \ | ||
100 | "make -f -" "a = a\n" "" ' | ||
101 | a = a | ||
102 | target:;@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. |
99 | testing "make appending to immediate-expansion macro" \ | 107 | testing "make appending to immediate-expansion macro" \ |