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