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