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