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