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