diff options
Diffstat (limited to 'Test')
-rw-r--r-- | Test/C01arith.ztst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Test/C01arith.ztst b/Test/C01arith.ztst index 9867b5d9a..e4ddebc12 100644 --- a/Test/C01arith.ztst +++ b/Test/C01arith.ztst @@ -136,3 +136,15 @@ print $(( 5, (3 + 7, 4) )) 0:commas and parentheses, part 1 >4 + + (setopt octalzeroes; print $(( 08#77 ))) +0:octalzeroes doesn't affect bases +>63 + + print $(( 36#z )) +0:bases up to 36 work +>35 + + print $(( 37#z )) +1:bases beyond 36 don't work +?(eval):1: invalid base: 37 |