]> git.ipfire.org Git - thirdparty/bash.git/blob - tests/varenv20.sub
Bash-5.2-rc4 release
[thirdparty/bash.git] / tests / varenv20.sub
1 # tests of local variables with the same name as variables passed in the
2 # temporary environment
3
4 f() { local v=x; local -p; }
5 v=t f
6
7 f() { local v; declare -p v; }
8 v=t f
9
10 f() { local v=x; unset v; declare -p v; }
11 v=g
12 f
13 v=t f