xref: /freebsd/bin/sh/tests/builtins/local2.0 (revision fe75646a0234a261c0013bf1840fdac4acaf0cec)
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