1 after f1:declare -ar a=([0]="1")
2 ./attr.tests: line 17: a: readonly variable
3 after f2:declare -ar a=([0]="1")
4 ./attr.tests: line 18: a: readonly variable
5 after f3:declare -ar a=([0]="1")
6 ./attr.tests: line 19: readonly: a: readonly variable
7 after f4:declare -ar a=([0]="1")
8 after f2:declare -ar b=([0]="2")
9 after f3:declare -ar c=([0]="(3)")
10 after f4:declare -ar d=([0]="4")
12 in func:declare -r n="4"
14 ./attr1.sub: line 26: p: readonly variable
16 ./attr1.sub: line 32: r: readonly variable
17 declare -ar r=([0]="1")
18 ./attr1.sub: line 36: r: readonly variable
19 declare -ar r=([0]="1")
20 ./attr1.sub: line 40: r: readonly variable
21 declare -ar r=([0]="1")
22 ./attr1.sub: line 44: readonly: r: readonly variable
23 declare -ar r=([0]="1")
24 declare -ar x=([0]="4")
25 in func:declare -ar y=([0]="4")
26 declare -ar y=([0]="4")
27 in func:declare -ar z=([0]="4")
28 declare -ar z=([0]="4")
29 in func:declare -ar y1=([0]="4")
30 declare -ar y1=([0]="4")
31 in func:declare -ar z1=([0]="4")
32 declare -ar z1=([0]="4")
34 declare -ax r=([0]="4")
35 declare -ax r=([0]="(5)")
36 declare -ax r=([0]="6")
37 declare -ax r=([0]="7")