summaryrefslogtreecommitdiffhomepage
path: root/shell/ash_test/ash-misc/local1.tests
blob: b1e675059738ec07383acd14e60f18d9ac17c67b (plain)
1
2
3
4
5
6
7
8
9
10
11
a=A
f() {
	local a
	# the above line unsets $a
	echo "A2:'$a'"
	unset a
	echo "A3:'$a'"
}
echo "A1:'$a'"
f
echo "A4:'$a'"