]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - tests/array.tests
Bash-4.1 distribution source
[thirdparty/bash.git] / tests / array.tests
index 1ac614bf3cc9756275ed2119d529cd50fcd531c3..435ac15937b3eb987435cc8937d2bea855361eee 100644 (file)
@@ -69,6 +69,8 @@ echo ${#a[5]}
 echo ${#a[@]}
 
 a[4+5/2]="test expression"
+declare a["7 + 8"]="test 2"
+a[7 + 8]="test 2"
 echo ${a[@]}
 
 readonly a[5]