xref: /freebsd/bin/sh/tests/builtins/local7.0 (revision 13ea0450a9c8742119d36f3bf8f47accdce46e54)
1# $FreeBSD$
2
3f() {
4	local x
5	readonly x=2
6}
7unset x
8f
9x=4
10[ "$x" = 4 ]
11