Gitiles
Code Review
Sign In
gerrit.nordix.org
/
codeaurora
/
busybox
/
eb17b6f6c99df4a132742facd43a9485bb7ac5a0
/
.
/
shell
/
hush_test
/
hush-misc
/
func_local2.tests
blob: 1a9ae559d1accaf95ca58eb17dbe150ef25250b4 [
file
] [
log
] [
blame
]
Denys Vlasenko
295fef8
2009-06-03 12:47:26 +0200
[
diff
] [
blame
]
1
x
=
1
2
f
()
{
echo $x
;
local
x
=
$
((
x
+
1
));
echo $x
;
}
3
g
()
{
f
;
echo $x
;
f
;
local
x
=
$
((
x
+
1
));
f
;
echo $x
;
f
;
}
4
f
5
g
6
echo $x
7
echo
Done