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