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