summaryrefslogtreecommitdiffstats
path: root/Test
diff options
context:
space:
mode:
Diffstat (limited to 'Test')
-rw-r--r--Test/K01nameref.ztst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Test/K01nameref.ztst b/Test/K01nameref.ztst
index 8a2d0ffd7..e0f7b1879 100644
--- a/Test/K01nameref.ztst
+++ b/Test/K01nameref.ztst
@@ -1084,6 +1084,11 @@ F:previously this could create an infinite recursion and crash
1:create nameref by pattern match not allowed
*?*typeset:1: -m not allowed with -n
+ typeset -nariu ref=var
+1:regression: warn about invalid nameref options but never about valid ones
+*?*typeset:1: -a not allowed with -n
+*?*typeset:1: -i not allowed with -n
+
e -u 0
0:assignment at different scope than declaration, -u 0
>g:1: rs=f - ra=f - rs1=f - ra1=f