]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/assoc7.sub
Bash-4.3 patch 7
[thirdparty/bash.git] / tests / assoc7.sub
CommitLineData
ac50fbac
CR
1# problem with bash versions through bash-4.2
2foo()
3{
4 declare -A hash
5 declare hash[baz]=bar #bash crashes here
6
7 echo ${hash[@]}
8}
9
10foo
11
12declare -a ary
13printf -v ary[0] "%b" ""
14echo "after printf"
15x="${ary[*]}" # segfaults here
16echo "after use: $?"