]> git.ipfire.org Git - thirdparty/bash.git/blob - tests/array13.sub
Bash-5.2-rc4 release
[thirdparty/bash.git] / tests / array13.sub
1
2 func1(){
3 declare -g variable='function'
4 declare -g -a array=(function)
5 echo ${variable} ${array[@]}
6 }
7
8 declare -g variable='main'
9 declare -g -a array=(main)
10 echo ${variable} ${array[@]}
11 func1
12 echo ${variable} ${array[@]}