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