Gitiles
Code Review
Sign In
gerrit.nordix.org
/
codeaurora
/
busybox
/
2d8187c139985e73349e3cb092ab4ea68a3be034
/
.
/
shell
/
hush_test
/
hush-misc
/
func_local2.tests
blob: 1a9ae559d1accaf95ca58eb17dbe150ef25250b4 [
file
] [
log
] [
blame
]
x
=
1
f
()
{
echo $x
;
local
x
=
$
((
x
+
1
));
echo $x
;
}
g
()
{
f
;
echo $x
;
f
;
local
x
=
$
((
x
+
1
));
f
;
echo $x
;
f
;
}
f
g
echo $x
echo
Done