Gitiles
Code Review
Sign In
gerrit.nordix.org
/
codeaurora
/
busybox
/
9809a82b5983ac3184906fff2df48765dab372c8
/
.
/
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