]> git.ipfire.org Git - thirdparty/bash.git/blob - tests/nameref2.sub
commit bash-20120629 snapshot
[thirdparty/bash.git] / tests / nameref2.sub
1 # test readonly nameref variables
2 # ksh93 allows this but not typeset -rn ref=foo?
3 typeset -n ref=foo
4 readonly ref
5 foo=4
6
7 echo $ref