summaryrefslogtreecommitdiff
path: root/tests/Kpreprocess
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2019-09-26 12:11:23 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2019-09-26 12:11:23 +0200
commit4185b0b3193345f793ca7a5268fb67ab65e57655 (patch)
tree3df2874db176cab01312c6d6f14b531b8bdf5577 /tests/Kpreprocess
parentf877b16b3432a2f68a7079877370cce3fe47918f (diff)
Make preprocessor nested parens test slightly trickier
Macros should still be expanded within nested parentheses. Test it.
Diffstat (limited to 'tests/Kpreprocess')
-rw-r--r--tests/Kpreprocess2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Kpreprocess b/tests/Kpreprocess
index f9aca10..283a988 100644
--- a/tests/Kpreprocess
+++ b/tests/Kpreprocess
@@ -123,7 +123,7 @@ shell-stderr-res := $(shell,echo message on stderr >&2)
# Nested parens in macro call. Should give a single argument. Test it with
# $(shell) to get a free argument number check.
-parens-res = pre-$(shell,echo '(a,b,(c,d),e)')-post
+parens-res = pre-$(shell,echo '(a,$(b-char),(c,d),e)')-post
# Expands to the current location
location-res := $(filename):$(lineno)