Sign in
cobalt
/
cobalt
/
9fd106630afcfc799d1f7d301e19935ee431681e
/
.
/
src
/
third_party
/
mozjs-45
/
build
/
pymake
/
tests
/
foreach-local-variable.mk
blob: 2551621eb98100d896ba493e0e466872590a2ac8 [
file
] [
log
] [
blame
]
# 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