diff options
Diffstat (limited to 'Test/C01arith.ztst')
-rw-r--r-- | Test/C01arith.ztst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Test/C01arith.ztst b/Test/C01arith.ztst index e2dfe56fc..d284e0869 100644 --- a/Test/C01arith.ztst +++ b/Test/C01arith.ztst @@ -387,3 +387,11 @@ print $((`:`)) 0:Null string in arithmetic evaluation after command substitution >0 + + print $(( 1 + $(( 2 + 3 )) )) + print $(($((3+4)))) + print $((1*$((2*$((3))*4))*5)) +0:Nested math substitutions. Yes, I know, very useful. +>6 +>7 +>120 |