about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
Diffstat (limited to 'Test')
-rw-r--r--Test/C01arith.ztst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Test/C01arith.ztst b/Test/C01arith.ztst
index c72bd5acb..c32d00209 100644
--- a/Test/C01arith.ztst
+++ b/Test/C01arith.ztst
@@ -88,3 +88,13 @@
   print ${(t)newarray} ${#newarray} ${newarray[1]}
 0:setting array elements in math context
 >array 1 2
+
+  print $(( 13 = 42 ))
+1:bad lvalue
+?ZTST_execchunk:2: lvalue required
+
+  x=/bar
+  (( x = 32 ))
+  print $x
+0:assigning to scalar which contains non-math string
+>32