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