mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 20:47:44 +00:00
9 lines
230 B
Makefile
9 lines
230 B
Makefile
# This test ensures that a local variable in a $(foreach) is bound to
|
|
# the local value, not a global value.
|
|
i := dummy
|
|
|
|
all:
|
|
test "$(foreach i,foo bar,found:$(i))" = "found:foo found:bar"
|
|
test "$(i)" = "dummy"
|
|
@echo TEST-PASS
|