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