1# $FreeBSD: stable/11/bin/sh/tests/builtins/local7.0 294593 2016-01-22 20:10:08Z jilles $ 2 3f() { 4 local x 5 readonly x=2 6} 7unset x 8f 9x=4 10[ "$x" = 4 ] 11