xref: /freebsd/bin/sh/tests/builtins/local2.0 (revision b0d29bc47dba79f6f38e67eabadfb4b32ffd9390)
1# $FreeBSD$
2
3f() {
4	local -
5	set -a
6	case $- in
7	*a*) : ;;
8	*) echo In-function \$- bad
9	esac
10}
11case $- in
12*a*) echo Initial \$- bad
13esac
14f
15case $- in
16*a*) echo Final \$- bad
17esac
18