1# $FreeBSD: head/bin/sh/tests/builtins/local6.0 294582 2016-01-22 18:10:36Z jilles $ 2 3f() { 4 local x 5 readonly x=2 6} 7x=3 8f 9x=4 10[ "$x" = 4 ] 11