summary refs log tree commit diff
path: root/bin/cash/tests/builtins/local7.0
blob: fc8209623e0015c2fa02cf39c6a39159489dfcca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# $FreeBSD: releng/12.0/bin/sh/tests/builtins/local7.0 294593 2016-01-22 20:10:08Z jilles $

f() {
	local x
	readonly x=2
}
unset x
f
x=4
[ "$x" = 4 ]